27 #include <linux/types.h>
28 #include <linux/kernel.h>
30 #include <asm/bootinfo.h>
34 static int cfe_cons_handle;
38 return "Broadcom BCM47XX";
43 while (
cfe_write(cfe_cons_handle, &c, 1) == 0)
47 static __init void prom_init_cfe(
void)
53 char **envp = (
char **)
fw_arg2;
65 if ((
int)prom_vec < 0) {
80 cfe_handle = prom_vec[0];
81 cfe_ept = prom_vec[2];
82 cfe_eptseal = prom_vec[3];
95 static __init void prom_init_console(
void)
126 static __init void prom_init_mem(
void)
147 for (mem = (1 << 20); mem < (128 << 20); mem += (1 << 20)) {
153 if (*(
unsigned long *)((
unsigned long)(
prom_init) + mem) ==