35 #include <linux/kernel.h>
39 #include <asm/reboot.h>
41 #include <asm/bootinfo.h>
63 static void __init nlm_early_serial_setup(
void)
82 static void nlm_linux_exit(
void)
103 return "Netlogic XLR/XLS Series";
116 static void __init build_arcs_cmdline(
int *argv)
123 for (i = 0; argv[
i] != 0; i++) {
124 arg = (
char *)(
long)argv[
i];
126 if (len + 1 > remain)
135 arg =
"console=ttyS0,38400 ";
142 #ifdef CONFIG_BLK_DEV_INITRD
144 arg =
"rdinit=/sbin/init ";
154 panic(
"Cannot add %s, command line too big!", arg);
157 static void prom_add_memory(
void)
161 u64 pref_backup = 512;
165 for (i = 0; i < bootm->
nr_map; i++) {
168 start = bootm->
map[
i].addr;
169 size = bootm->
map[
i].size;
172 if (i == 0 && start == 0 && size == 0x0c000000)
192 nlm_early_serial_setup();
193 build_arcs_cmdline(argv);