[U-Boot] [PATCH v3] Add "cpu_config" command for PPC4xx bootstrap configuration

Wolfgang Denk wd at denx.de
Sun Jul 19 09:55:10 CEST 2009


Dear Matthias Fuchs,

In message <4A619C0F.20103 at 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: wd at denx.de
Sex is like air.  It's only a big deal if you can't get any.


More information about the U-Boot mailing list