]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ppc64: Move init_boot_text call and conswitchp init into setup_arch
authorPaul Mackerras <paulus@samba.org>
Thu, 20 Oct 2005 11:00:20 +0000 (21:00 +1000)
committerPaul Mackerras <paulus@samba.org>
Thu, 20 Oct 2005 11:00:20 +0000 (21:00 +1000)
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>
arch/powerpc/kernel/setup_64.c
arch/powerpc/platforms/pseries/setup.c

index 97ffdcf09c03597c4e7d78cf760f7e3d81b5f913..0312422881aed00fda295f24b6595899442b648d 100644 (file)
@@ -586,6 +586,10 @@ void __init setup_system(void)
         */
        finish_device_tree();
 
+#ifdef CONFIG_BOOTX_TEXT
+       init_boot_display();
+#endif
+
        /*
         * Initialize xmon
         */
@@ -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. */
index c53dbbb4490a65d64d2ec4bfb434f68a3f42b65a..92d18003f152ee391138ef0c3ea082b6e21223bb 100644 (file)
@@ -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 */