[PATCH 3/9] Small updates for Freescale MPC52xx

Sylvain Munaut tnt at 246tNt.com
Tue Sep 14 21:50:04 EST 2004


# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
#   2004/09/14 00:02:45+02:00 tnt at 246tNt.com
#   ppc: Use dummy_con for conswitchp on Freescale MPC52xx platforms
#  
#   Apparently needed for when virtual consoles are enabled.
#  
#   Signed-off-by: Dale Farnsworth <dale at farnsworth.org>
#   Signed-off-by: Sylvain Munaut <tnt246tNt.com>
#
# arch/ppc/platforms/lite5200.c
#   2004/09/14 00:02:31+02:00 tnt at 246tNt.com +4 -0
#   ppc: Use dummy_con for conswitchp on Freescale MPC52xx platforms
#
diff -Nru a/arch/ppc/platforms/lite5200.c b/arch/ppc/platforms/lite5200.c
--- a/arch/ppc/platforms/lite5200.c     2004-09-14 12:47:37 +02:00
+++ b/arch/ppc/platforms/lite5200.c     2004-09-14 12:47:37 +02:00
@@ -147,5 +147,9 @@
 #ifdef CONFIG_SERIAL_TEXT_DEBUG
        ppc_md.progress         = mpc52xx_progress;
 #endif
+
+#ifdef CONFIG_DUMMY_CONSOLE
+       conswitchp = &dummy_con;
+#endif
 }





More information about the Linuxppc-dev mailing list