
25 Nov
2012
25 Nov
'12
8:47 p.m.
Dear Henrik Nordström,
In message 1353843526.17518.15.camel@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@henriknordstrom.net Signed-off-by: Stefan Roese sr@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@denx.de
Ernest asks Frank how long he has been working for the company.
"Ever since they threatened to fire me."