[PATCH 03/13] amba clcd: Swapped CTRL/IENB registers for LCP32XX

wellsk40 at gmail.com wellsk40 at gmail.com
Wed Jan 27 20:43:21 EST 2010


From: Kevin Wells <wellsk40 at gmail.com>

The LPC32XX needs the PL11x CTRL and IENB registers swapped. The
swap will also occur for ARCH_LPC32XX.

Signed-off-by: Kevin Wells <wellsk40 at gmail.com>
---
 include/linux/amba/clcd.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/include/linux/amba/clcd.h b/include/linux/amba/clcd.h
index 29c0448..8d0d491 100644
--- a/include/linux/amba/clcd.h
+++ b/include/linux/amba/clcd.h
@@ -21,7 +21,8 @@
 #define CLCD_UBAS 		0x00000010
 #define CLCD_LBAS 		0x00000014
 
-#if !defined(CONFIG_ARCH_VERSATILE) && !defined(CONFIG_ARCH_REALVIEW)
+#if !defined(CONFIG_ARCH_VERSATILE) && !defined(CONFIG_ARCH_REALVIEW)\
+	&& !defined(CONFIG_ARCH_LPC32XX)
 #define CLCD_IENB 		0x00000018
 #define CLCD_CNTL 		0x0000001c
 #else
-- 
1.6.6




More information about the linux-arm-kernel mailing list