From 5ef9870717aeef87c27190bbfacc8f81eefc0957 Mon Sep 17 00:00:00 2001
From: z3deverp <z3@vmsv-debian.(none)>
Date: Thu, 4 Dec 2008 00:08:54 +0900
Subject: [PATCH] sha_pon disable zImage progress message

---
 arch/arm/mach-pxa/include/mach/uncompress.h |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-pxa/include/mach/uncompress.h b/arch/arm/mach-pxa/include/mach/uncompress.h
old mode 100644
new mode 100755
index 21e3e89..56cbc8b
--- a/arch/arm/mach-pxa/include/mach/uncompress.h
+++ b/arch/arm/mach-pxa/include/mach/uncompress.h
@@ -19,6 +19,8 @@ static volatile unsigned long *UART = FFUART;
 
 static inline void putc(char c)
 {
+	if ( UART == NULL )
+		return;
 	if (!(UART[UART_IER] & IER_UUE))
 		return;
 	while (!(UART[UART_LSR] & LSR_TDRQ))
@@ -37,6 +39,12 @@ static inline void arch_decomp_setup(void)
 {
 	if (machine_is_littleton())
 		UART = STUART;
+	if ( machine_is_sha_pon003() ||
+		machine_is_sha_pon004() ||
+		machine_is_sha_pon007() ||
+		machine_is_sha_pon011() ||
+		machine_is_sha_pon020() )
+		UART = NULL;
 }
 
 /*
-- 
1.4.4.4

