From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Date: Wed, 23 Jan 2008 17:29:17 -0500 Subject: [U-Boot-Users] [patch] add support for "eeprom info" In-Reply-To: <20080123212300.8F020247A1@gemini.denx.de> References: <20080123212300.8F020247A1@gemini.denx.de> Message-ID: <200801231729.18316.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wednesday 23 January 2008, Wolfgang Denk wrote: > In message <200801231615.09447.vapier@gentoo.org> you wrote: > > > ... and I2C. > > > > i have no idea, i dont use i2c flashes. i dont know if there is any > > standard for them. if there isnt, easy enough to protect with > > CONFIG_SPI. > > We're not talking about flashes. We're talking about EEPROM. For > example things like a AT24C164 or similar, see for example > http://www.atmel.com/dyn/resources/prod_documents/doc0105.pdf the semantics are irrelevant. it's an external non-volatile memory device accessed via the eeprom command. the document you posted looks like that device doesnt have any way of querying it, so eeprom_info() for that device would be useless. if this is normal among i2c eeproms, i'll repost the patch with eeprom_info behind CONFIG_SPI. most SPI flashes nowadays support the jedec id command which allows for dynamic detection (which is how the Blackfin SPI driver that i wrote works). hook up any SPI flash and it "just works". -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 827 bytes Desc: This is a digitally signed message part. Url : http://lists.denx.de/pipermail/u-boot/attachments/20080123/92cf3990/attachment.pgp