From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Wed, 03 Apr 2013 19:08:20 +0200 Subject: [U-Boot] PPC4XX Custom Board - Failing to read I2C In-Reply-To: <1365005723957-151427.post@n7.nabble.com> References: <1364939304023-151298.post@n7.nabble.com> <515B7D21.6040607@denx.de> <1365005723957-151427.post@n7.nabble.com> Message-ID: <515C6204.9020508@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 On 03.04.2013 18:15, txcotrader wrote: > Thanks Stefan, great suggestion, I failed to copy those configurations into > my original message. > > /*----------------------------------------------------------------------- > * DDR SDRAM > *----------------------------------------------------------------------*/ > #if !defined(CONFIG_NAND_U_BOOT) > #define CONFIG_SPD_EEPROM 1 /* Use SPD > EEPROM for setup */ > #define CONFIG_DDR_ECC 1 /* with ECC > support */ > > /* SPD i2c spd addresses */ > #define SPD_EEPROM_ADDRESS {IIC0_DIMM0_ADDR} > #define IIC0_DIMM0_ADDR 0x50 > #define IIC0_DIMM1_ADDR 0x52 > > I am questioning my bus configurations... I haven't hooked up the scope yet, > but I don't think data is hitting the bus. I don't see any areas to > configure the I2C bus besides the board configuration file. Any suggestions? Are you sure that 0x50 is correct? I suggest you try this instead: #define SPD_EEPROM_ADDRESS { IIC0_DIMM0_ADDR, IIC0_DIMM1_ADDR } Thanks, Stefan