ChangeSet 1.2181.1.11, 2005/03/30 14:16:38+01:00, [EMAIL PROTECTED](none)
[ARM PATCH] 2630/1: Fixes definition of GPB10 on S3C2410
Patch from Lucas Correia Villa Real
This patch fixes the definition of the GPB10 bits on the S3C2410 by
using the
correct offset to access its functions.
Signed-off-by: Lucas Correia Villa Real
Signed-off-by: Ben Dooks <[EMAIL PROTECTED]>
Signed-off-by: Russell King
regs-gpio.h | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff -Nru a/include/asm-arm/arch-s3c2410/regs-gpio.h
b/include/asm-arm/arch-s3c2410/regs-gpio.h
--- a/include/asm-arm/arch-s3c2410/regs-gpio.h 2005-03-30 16:23:07 -08:00
+++ b/include/asm-arm/arch-s3c2410/regs-gpio.h 2005-03-30 16:23:07 -08:00
@@ -19,6 +19,7 @@
* 18-11-2004 BJD Fixed definitions of GPE3, GPE4, GPE5 and GPE6
* 18-11-2004 BJD Added S3C2440 AC97 controls
* 10-Mar-2005 LCVR Changed S3C2410_VA to S3C24XX_VA
+ * 28-Mar-2005 LCVR Fixed definition of GPB10
*/
@@ -212,9 +213,9 @@
#define S3C2410_GPB9_nXDACK0 (0x02 << 18)
#define S3C2410_GPB10 S3C2410_GPIONO(S3C2410_GPIO_BANKB, 10)
-#define S3C2410_GPB10_INP (0x00 << 18)
-#define S3C2410_GPB10_OUTP (0x01 << 18)
-#define S3C2410_GPB10_nXDRE0 (0x02 << 18)
+#define S3C2410_GPB10_INP (0x00 << 20)
+#define S3C2410_GPB10_OUTP (0x01 << 20)
+#define S3C2410_GPB10_nXDRE0 (0x02 << 20)
/* Port C consits of 16 GPIO/Special function
*
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html