diff options
Diffstat (limited to 'arch/mips/sibyte/cfe/setup.c')
-rw-r--r-- | arch/mips/sibyte/cfe/setup.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/mips/sibyte/cfe/setup.c b/arch/mips/sibyte/cfe/setup.c index 3de30f79db3f..eb5396cf81bb 100644 --- a/arch/mips/sibyte/cfe/setup.c +++ b/arch/mips/sibyte/cfe/setup.c | |||
@@ -288,13 +288,7 @@ void __init prom_init(void) | |||
288 | */ | 288 | */ |
289 | cfe_cons_handle = cfe_getstdhandle(CFE_STDHANDLE_CONSOLE); | 289 | cfe_cons_handle = cfe_getstdhandle(CFE_STDHANDLE_CONSOLE); |
290 | if (cfe_getenv("LINUX_CMDLINE", arcs_cmdline, CL_SIZE) < 0) { | 290 | if (cfe_getenv("LINUX_CMDLINE", arcs_cmdline, CL_SIZE) < 0) { |
291 | if (argc < 0) { | 291 | if (argc >= 0) { |
292 | /* | ||
293 | * It's OK for direct boot to not provide a | ||
294 | * command line | ||
295 | */ | ||
296 | strcpy(arcs_cmdline, "root=/dev/ram0 "); | ||
297 | } else { | ||
298 | /* The loader should have set the command line */ | 292 | /* The loader should have set the command line */ |
299 | /* too early for panic to do any good */ | 293 | /* too early for panic to do any good */ |
300 | printk("LINUX_CMDLINE not defined in cfe."); | 294 | printk("LINUX_CMDLINE not defined in cfe."); |