Dear Matthias Fuchs, In message <4a619c0f.20...@esd.eu> you wrote: > > When writing more bytes to an eeprom than it's actual pagesize you have > to take special care. This is done in eeprom_write(). i2c_write() to > an eeprom only works with up to pagesize bytes! > > Either we use eeprom_write() or we use multiple call of i2c_write(). > If we do not change this, Stefan's code does not work with 405EP cpus. > On these you have 0x20 strapping bytes and typicall EEPROMs with 8 or 16 > bytes pagesize (24W01/02/04/08/16).
I see. So we should probably enable and export eeprom_write() in this case, and then use it. 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 Sex is like air. It's only a big deal if you can't get any. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot