<!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&nbsp;<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>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=309414009-25012007>Signed-off-by: 
Li&nbsp;Tony &lt;<A title=mailto:tony.li@freescale.com 
href="mailto:tony.li@freescale.com">tony.li@freescale.com</A>&gt;<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>&nbsp;arch/powerpc/Kconfig&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp; 2 +-<BR>&nbsp;arch/powerpc/kernel/setup_32.c 
|&nbsp;&nbsp;&nbsp; 2 ++<BR>&nbsp;2 files changed, 3 insertions(+), 1 
deletions(-)</SPAN></FONT></DIV>
<DIV>&nbsp;</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>&nbsp;<BR>&nbsp;config 
EARLY_PRINTK<BR>&nbsp;&nbsp;bool<BR>-&nbsp;default y<BR>+&nbsp;default 
t<BR>&nbsp;<BR>&nbsp;config COMPAT<BR>&nbsp;&nbsp;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>&nbsp;<BR>&nbsp;&nbsp;smp_setup_cpu_maps();<BR>&nbsp;<BR>+#ifdef 
CONFIG_EARLY_PRINTK<BR>&nbsp;&nbsp;/* Register early console 
*/<BR>&nbsp;&nbsp;register_early_udbg_console();<BR>+#endif<BR>&nbsp;<BR>&nbsp;&nbsp;xmon_setup();<BR>&nbsp;<BR>-- 
<BR>1.4.2</SPAN></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=309414009-25012007></SPAN></FONT>&nbsp;</DIV></BODY></HTML>