<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3020" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=309414009-25012007>The early console is
default enable in powerpc 32 now.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=309414009-25012007>This cause the boot
message from beginning to console_init() printed twice.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=309414009-25012007>The early console is
useful only when the kernel dead before console_init.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=309414009-25012007>The patch <SPAN
class=525140007-26012007>make the early console optional and </SPAN>disable the
early console<SPAN class=525140007-26012007> in
default.</SPAN></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=309414009-25012007><SPAN
class=525140007-26012007>The patch has been tested on mpc8313erdb
board</SPAN></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=309414009-25012007><SPAN
class=525140007-26012007></SPAN></SPAN></FONT><FONT face=Arial size=2><SPAN
class=309414009-25012007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=309414009-25012007>Signed-off-by:
Li Tony <<A title=mailto:tony.li@freescale.com
href="mailto:tony.li@freescale.com">tony.li@freescale.com</A>><BR></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=309414009-25012007>---<BR></SPAN></FONT><FONT face=Arial size=2><SPAN
class=309414009-25012007> arch/powerpc/Kconfig
| 2 +-<BR> arch/powerpc/kernel/setup_32.c
| 2 ++<BR> 2 files changed, 3 insertions(+), 1
deletions(-)</SPAN></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=309414009-25012007>diff --git
a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig<BR>index 0673dbe..0c18951
100644<BR>--- a/arch/powerpc/Kconfig<BR>+++ b/arch/powerpc/Kconfig<BR>@@ -59,7
+59,7 @@ config PPC<BR> <BR> config
EARLY_PRINTK<BR> bool<BR>- default y<BR>+ default
t<BR> <BR> config COMPAT<BR> bool<BR>diff --git
a/arch/powerpc/kernel/setup_32.c b/arch/powerpc/kernel/setup_32.c<BR>index
a4c2964..71eb320 100644<BR>--- a/arch/powerpc/kernel/setup_32.c<BR>+++
b/arch/powerpc/kernel/setup_32.c<BR>@@ -242,8 +242,10 @@ void __init
setup_arch(char
**cmdline_p)<BR> <BR> smp_setup_cpu_maps();<BR> <BR>+#ifdef
CONFIG_EARLY_PRINTK<BR> /* Register early console
*/<BR> register_early_udbg_console();<BR>+#endif<BR> <BR> xmon_setup();<BR> <BR>--
<BR>1.4.2</SPAN></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=309414009-25012007></SPAN></FONT> </DIV></BODY></HTML>