diff options
Diffstat (limited to 'arch/sparc64/kernel/setup.c')
-rw-r--r-- | arch/sparc64/kernel/setup.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/sparc64/kernel/setup.c b/arch/sparc64/kernel/setup.c index 5964d8653ade..ebad74bd88bb 100644 --- a/arch/sparc64/kernel/setup.c +++ b/arch/sparc64/kernel/setup.c | |||
@@ -83,10 +83,10 @@ unsigned int boot_flags = 0; | |||
83 | /* Exported for mm/init.c:paging_init. */ | 83 | /* Exported for mm/init.c:paging_init. */ |
84 | unsigned long cmdline_memory_size = 0; | 84 | unsigned long cmdline_memory_size = 0; |
85 | 85 | ||
86 | static struct console prom_debug_console = { | 86 | static struct console prom_early_console = { |
87 | .name = "debug", | 87 | .name = "earlyprom", |
88 | .write = prom_console_write, | 88 | .write = prom_console_write, |
89 | .flags = CON_PRINTBUFFER, | 89 | .flags = CON_PRINTBUFFER | CON_BOOT, |
90 | .index = -1, | 90 | .index = -1, |
91 | }; | 91 | }; |
92 | 92 | ||
@@ -112,8 +112,7 @@ static void __init process_switch(char c) | |||
112 | prom_halt(); | 112 | prom_halt(); |
113 | break; | 113 | break; |
114 | case 'p': | 114 | case 'p': |
115 | /* Use PROM debug console. */ | 115 | /* Just ignore, this behavior is now the default. */ |
116 | register_console(&prom_debug_console); | ||
117 | break; | 116 | break; |
118 | case 'P': | 117 | case 'P': |
119 | /* Force UltraSPARC-III P-Cache on. */ | 118 | /* Force UltraSPARC-III P-Cache on. */ |
@@ -296,6 +295,9 @@ void __init setup_arch(char **cmdline_p) | |||
296 | *cmdline_p = prom_getbootargs(); | 295 | *cmdline_p = prom_getbootargs(); |
297 | strcpy(boot_command_line, *cmdline_p); | 296 | strcpy(boot_command_line, *cmdline_p); |
298 | 297 | ||
298 | boot_flags_init(*cmdline_p); | ||
299 | register_console(&prom_early_console); | ||
300 | |||
299 | if (tlb_type == hypervisor) | 301 | if (tlb_type == hypervisor) |
300 | printk("ARCH: SUN4V\n"); | 302 | printk("ARCH: SUN4V\n"); |
301 | else | 303 | else |
@@ -307,8 +309,6 @@ void __init setup_arch(char **cmdline_p) | |||
307 | conswitchp = &prom_con; | 309 | conswitchp = &prom_con; |
308 | #endif | 310 | #endif |
309 | 311 | ||
310 | boot_flags_init(*cmdline_p); | ||
311 | |||
312 | idprom_init(); | 312 | idprom_init(); |
313 | 313 | ||
314 | if (!root_flags) | 314 | if (!root_flags) |