[U-Boot-Users] i2c for mpc107 bridge

Gleb Natapov gleb at nbase.co.il
Thu Aug 28 11:42:09 CEST 2003


I tried to use I2C driver from cpu/mpc824x/drivers/i2c/ before
relocation to ram (to read SDRAM eeprom actually). This doesn't work
for me. I think this is because Motorola driver uses static variables
and this can't work from flash.

I wrote my own simple driver (attached) that does work from flash. May be
somebody needs it :)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: i2c.c
Type: text/x-csrc
Size: 5261 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20030828/b2dd28a2/attachment.c 

More information about the U-Boot mailing list