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 char arcs_cmdline[CL_SIZE];
12 const char *get_system_type(void)
14 /* Should probably return one of "BT23-201", "BT23-202" */
18 void __init prom_init(unsigned int mem_upper)
20 mem_upper = PHYSADDR(mem_upper);
22 mips_machgroup = MACH_GROUP_UNKNOWN;
23 mips_machtype = MACH_UNKNOWN;
26 vac_memory_upper = mem_upper;
28 add_memory_region(0, mem_upper, BOOT_MEM_RAM);
31 void prom_free_prom_memory (void)