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

Steve Sakoman steve at sakoman.com
Thu Aug 19 05:28:56 CEST 2010


On Wed, 2010-08-18 at 19:39 -0500, Nishanth Menon wrote:
> 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>

Acked-by: Steve Sakoman <steve at sakoman.com>

Steve

> ---
>  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 */




More information about the U-Boot mailing list