Skip to content

Commit

Permalink
ppc64: Move init_boot_text call and conswitchp init into setup_arch
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Paul Mackerras committed Oct 20, 2005
1 parent 399fe2b commit 0458060
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 8 additions & 0 deletions arch/powerpc/kernel/setup_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -586,6 +586,10 @@ void __init setup_system(void)
*/
finish_device_tree();

#ifdef CONFIG_BOOTX_TEXT
init_boot_display();
#endif

/*
* Initialize xmon
*/
Expand Down Expand Up @@ -1039,6 +1043,10 @@ void __init setup_arch(char **cmdline_p)
/* initialize the syscall map in systemcfg */
setup_syscall_map();

#ifdef CONFIG_DUMMY_CONSOLE
conswitchp = &dummy_con;
#endif

ppc_md.setup_arch();

/* Use the default idle loop if the platform hasn't provided one. */
Expand Down
4 changes: 0 additions & 4 deletions arch/powerpc/platforms/pseries/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -241,10 +241,6 @@ static void __init pSeries_setup_arch(void)
find_and_init_phbs();
eeh_init();

#ifdef CONFIG_DUMMY_CONSOLE
conswitchp = &dummy_con;
#endif

pSeries_nvram_init();

/* Choose an idle loop */
Expand Down

0 comments on commit 0458060

Please sign in to comment.