]> git.sur5r.net Git - u-boot/commitdiff
omap2: i2c: add syss offset
authorNishanth Menon <nm@ti.com>
Thu, 19 Aug 2010 00:39:08 +0000 (19:39 -0500)
committerHeiko Schocher <hs@denx.de>
Mon, 23 Aug 2010 06:08:49 +0000 (08:08 +0200)
OMAP2420 ES2.3 trm defines syss register offset as 0x10. Add it.

Cc: Steve Sakoman <steve@sakoman.com>
Cc: Heiko <hs@denx.de>
Cc: Sandeep Paulraj <s-paulraj@ti.com>
Cc: Wolfang Denk <wd@denx.de>
Signed-off-by: Nishanth Menon <nm@ti.com>
Acked-by: Steve Sakoman <steve@sakoman.com>
arch/arm/include/asm/arch-omap24xx/i2c.h

index 19046aaab456106d12358995e8328f059408cb84..418a43268dd2b3d3dede808e864aecf246bc98b8 100644 (file)
@@ -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 */