diff options
author | Paul Mackerras <paulus@samba.org> | 2005-10-20 07:00:20 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-10-20 07:00:20 -0400 |
commit | 0458060c1c59c5378d8fb5daabe18cf4681c35cd (patch) | |
tree | ce33af5a0b1d4a4307502d4628529e2dffe7ea8e /arch/powerpc/kernel/setup_64.c | |
parent | 399fe2bdd315c3a678b59b72659c4ed1ce0e1a24 (diff) |
ppc64: Move init_boot_text call and conswitchp init into setup_arch
This way they get done in one place for all platforms, and it is
more consistent with what ppc32 does.
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/setup_64.c')
-rw-r--r-- | arch/powerpc/kernel/setup_64.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/setup_64.c b/arch/powerpc/kernel/setup_64.c index 97ffdcf09c03..0312422881ae 100644 --- a/arch/powerpc/kernel/setup_64.c +++ b/arch/powerpc/kernel/setup_64.c | |||
@@ -586,6 +586,10 @@ void __init setup_system(void) | |||
586 | */ | 586 | */ |
587 | finish_device_tree(); | 587 | finish_device_tree(); |
588 | 588 | ||
589 | #ifdef CONFIG_BOOTX_TEXT | ||
590 | init_boot_display(); | ||
591 | #endif | ||
592 | |||
589 | /* | 593 | /* |
590 | * Initialize xmon | 594 | * Initialize xmon |
591 | */ | 595 | */ |
@@ -1039,6 +1043,10 @@ void __init setup_arch(char **cmdline_p) | |||
1039 | /* initialize the syscall map in systemcfg */ | 1043 | /* initialize the syscall map in systemcfg */ |
1040 | setup_syscall_map(); | 1044 | setup_syscall_map(); |
1041 | 1045 | ||
1046 | #ifdef CONFIG_DUMMY_CONSOLE | ||
1047 | conswitchp = &dummy_con; | ||
1048 | #endif | ||
1049 | |||
1042 | ppc_md.setup_arch(); | 1050 | ppc_md.setup_arch(); |
1043 | 1051 | ||
1044 | /* Use the default idle loop if the platform hasn't provided one. */ | 1052 | /* Use the default idle loop if the platform hasn't provided one. */ |