Commit 0458060c authored by Paul Mackerras's avatar Paul Mackerras

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: default avatarPaul Mackerras <paulus@samba.org>
parent 399fe2bd
...@@ -586,6 +586,10 @@ void __init setup_system(void) ...@@ -586,6 +586,10 @@ void __init setup_system(void)
*/ */
finish_device_tree(); finish_device_tree();
#ifdef CONFIG_BOOTX_TEXT
init_boot_display();
#endif
/* /*
* Initialize xmon * Initialize xmon
*/ */
...@@ -1039,6 +1043,10 @@ void __init setup_arch(char **cmdline_p) ...@@ -1039,6 +1043,10 @@ void __init setup_arch(char **cmdline_p)
/* initialize the syscall map in systemcfg */ /* initialize the syscall map in systemcfg */
setup_syscall_map(); setup_syscall_map();
#ifdef CONFIG_DUMMY_CONSOLE
conswitchp = &dummy_con;
#endif
ppc_md.setup_arch(); ppc_md.setup_arch();
/* Use the default idle loop if the platform hasn't provided one. */ /* Use the default idle loop if the platform hasn't provided one. */
......
...@@ -241,10 +241,6 @@ static void __init pSeries_setup_arch(void) ...@@ -241,10 +241,6 @@ static void __init pSeries_setup_arch(void)
find_and_init_phbs(); find_and_init_phbs();
eeh_init(); eeh_init();
#ifdef CONFIG_DUMMY_CONSOLE
conswitchp = &dummy_con;
#endif
pSeries_nvram_init(); pSeries_nvram_init();
/* Choose an idle loop */ /* Choose an idle loop */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment