From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aaron Williams Date: Mon, 18 Nov 2013 20:23:55 -0800 Subject: [U-Boot] SPI and I2C EEPROM In-Reply-To: <528AE679.3090806@caviumnetworks.com> References: <528AE679.3090806@caviumnetworks.com> Message-ID: <528AE7DB.9010907@caviumnetworks.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Never mind about the multiple devices, it looks like that is supported. My problem is still that only either I2C or SPI are supported and not both. -Aaron On 11/18/2013 08:18 PM, Aaron Williams wrote: > Hi all, > > On one of our new boards we have both a SPI (M9256-W) and I2C > (24lc256) EEPROM. I have run into a couple of issues. First of all, it > looks like the eeprom command can only handle one EEPROM device. It > would be useful if multiple devices could be supported. > > Another issue I ran into is that the M95XXX driver is hard coded to > use CS1. > > Perhaps the eeprom command could be enhanced to specify whether the > device should be spi or i2c rather than hard coded as well as support > multiple devices? > > -Aaron > -- Aaron Williams Software Engineer Cavium, Inc. (408) 943-7198 (510) 789-8988 (cell)