From: Wolfgang Denk Date: Sun, 19 Jul 2009 09:55:10 +0200 Subject: [U-Boot] [PATCH v3] Add "cpu_config" command for PPC4xx bootstrap configuration In-Reply-To: <4A619C0F.20103@esd.eu> References: <1247838836-20340-1-git-send-email-sr@denx.de> <200907172157.12244.matthias.fuchs@esd.eu> <20090717205848.95BDA832E416@gemini.denx.de> <4A619C0F.20103@esd.eu> Message-ID: <20090719075510.7AF7D832E416@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Matthias Fuchs, In message <4A619C0F.20103@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.