Subject: [PATCH 3/9] Small updates for Freescale MPC52xx

From: Sylvain Munaut <[email-masked]>
Date: Tue, 14 Sep 2004 13:50:04 +0200

# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
#   2004/09/14 00:02:45+02:00 [email-masked]
#   ppc: Use dummy_con for conswitchp on Freescale MPC52xx platforms
#  
#   Apparently needed for when virtual consoles are enabled.
#  
#   Signed-off-by: Dale Farnsworth <[email-masked]>
#   Signed-off-by: Sylvain Munaut <tnt246tNt.com>
#
# arch/ppc/platforms/lite5200.c
#   2004/09/14 00:02:31+02:00 [email-masked] +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
 }