Dear Henrik Nordström, In message <1353843526.17518.15.ca...@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 <hen...@henriknordstrom.net> > Signed-off-by: Stefan Roese <s...@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: w...@denx.de Ernest asks Frank how long he has been working for the company. "Ever since they threatened to fire me." _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot