public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] pxa: fix for UART reference in section text for a number of platforms.
@ 2010-03-08 11:15 Jonathan Cameron
  2010-03-08 11:48 ` Eric Miao
  0 siblings, 1 reply; 7+ messages in thread
From: Jonathan Cameron @ 2010-03-08 11:15 UTC (permalink / raw)
  To: linux-arm-kernel

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>

---
 Fix exactly as proposed by Russell King.  Thanks!

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

diff --git a/arch/arm/mach-pxa/include/mach/uncompress.h b/arch/arm/mach-pxa/include/mach/uncompress.h
index 237734b..b009299 100644
--- a/arch/arm/mach-pxa/include/mach/uncompress.h
+++ b/arch/arm/mach-pxa/include/mach/uncompress.h
@@ -15,7 +15,7 @@
 
 #define __REG(x)       ((volatile unsigned long *)x)
 
-static volatile unsigned long *UART = FFUART;
+static volatile unsigned long *UART;
 
 static inline void putc(char c)
 {
@@ -39,6 +39,8 @@ static inline void arch_decomp_setup(void)
 	    || machine_is_csb726() || machine_is_stargate2()
 	    || machine_is_cm_x300() || machine_is_balloon3())
 		UART = STUART;
+	else
+		UART = FFUART;
 }
 
 /*
-- 
1.6.4.4

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-03-15 13:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-08 11:15 [PATCH] pxa: fix for UART reference in section text for a number of platforms Jonathan Cameron
2010-03-08 11:48 ` Eric Miao
2010-03-08 12:05   ` Jonathan Cameron
2010-03-08 12:10   ` Eric Miao
2010-03-08 17:44     ` Jonathan Cameron
2010-03-15 12:43       ` Eric Miao
2010-03-15 13:04         ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox