2 * init.c: PROM library initialisation code.
4 * Copyright (C) 1998 Gleb Raiko & Vladimir Roganov
6 #include <linux/init.h>
7 #include <asm/addrspace.h>
8 #include <asm/bootinfo.h>
10 const char *get_system_type(void)
12 /* Should probably return one of "BT23-201", "BT23-202" */
16 void __init prom_init(void)
18 mem_upper = PHYSADDR(fw_arg0);
20 mips_machgroup = MACH_GROUP_UNKNOWN;
21 mips_machtype = MACH_UNKNOWN;
24 vac_memory_upper = mem_upper;
26 add_memory_region(0, mem_upper, BOOT_MEM_RAM);
29 unsigned long __init prom_free_prom_memory(void)