[U-Boot] [PATCH 03/22] ARM sunxi: I2C driver
Wolfgang Denk
wd at denx.de
Sun Nov 25 20:47:29 CET 2012
Dear Henrik Nordström,
In message <1353843526.17518.15.camel at home.hno.se> you wrote:
> A basic basic driver for the I2C controller found in Allwinner
> sunXi (A10 & A13) SoCs.
>
> Signed-off-by: Henrik Nordstrom <henrik at henriknordstrom.net>
> Signed-off-by: Stefan Roese <sr at denx.de>
???
> +static struct i2c __attribute__ ((section(".data"))) *i2c_base =
> + (struct i2c *)0x1c2ac00;
Why would the __attribute__ ((section(".data"))) be needed here???
> + while ((readl(&i2c_base->reset) & TWI_SRST_SRST))
> + ;
No timeout?
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Ernest asks Frank how long he has been working for the company.
"Ever since they threatened to fire me."
More information about the U-Boot
mailing list