[U-Boot] [PATCH 2/3] omap2: i2c: add syss offset

Nishanth Menon nm at ti.com
Thu Aug 19 02:39:08 CEST 2010


OMAP2420 ES2.3 trm defines syss register offset as 0x10. Add it.

Cc: Steve Sakoman <steve at sakoman.com>
Cc: Heiko <hs at denx.de>
Cc: Sandeep Paulraj <s-paulraj at ti.com>
Cc: Wolfang Denk <wd at denx.de>

Signed-off-by: Nishanth Menon <nm at ti.com>
---
 arch/arm/include/asm/arch-omap24xx/i2c.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/arch/arm/include/asm/arch-omap24xx/i2c.h b/arch/arm/include/asm/arch-omap24xx/i2c.h
index 19046aa..418a432 100644
--- a/arch/arm/include/asm/arch-omap24xx/i2c.h
+++ b/arch/arm/include/asm/arch-omap24xx/i2c.h
@@ -36,7 +36,9 @@ struct i2c {
 	unsigned short stat;	/* 0x08 */
 	unsigned short res3;
 	unsigned short iv;	/* 0x0C */
-	unsigned short res4[3];
+	unsigned short res4;
+	unsigned short syss;	/* 0x10 */
+	unsigned short res4p1;
 	unsigned short buf;	/* 0x14 */
 	unsigned short res5;
 	unsigned short cnt;	/* 0x18 */
-- 
1.6.3.3



More information about the U-Boot mailing list