From 514bab6609acd1a2a19fdd75c2f6255178db7c96 Mon Sep 17 00:00:00 2001 From: Stefan Roese Date: Mon, 17 Aug 2009 16:57:53 +0200 Subject: ppc4xx: Fix "chip_config" command for AMCC Arches This patch fixes the "chip_config" command for I2C bootstrap EEPROM configuration. First it changes the I2C bootstrap EEPROM address to 0x54 as this is used on Arches (instead of 0x52 on Canyonlands/ Glacier). Additionally, the NAND bootstrap settings are removed for Arches since Arches doesn't support NAND-booting. Signed-off-by: Stefan Roese --- include/configs/canyonlands.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/configs') diff --git a/include/configs/canyonlands.h b/include/configs/canyonlands.h index 217a8ee009..3dddccfe7e 100644 --- a/include/configs/canyonlands.h +++ b/include/configs/canyonlands.h @@ -331,7 +331,11 @@ #define CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS 10 /* I2C bootstrap EEPROM */ +#if defined(CONFIG_ARCHES) +#define CONFIG_4xx_CONFIG_I2C_EEPROM_ADDR 0x54 +#else #define CONFIG_4xx_CONFIG_I2C_EEPROM_ADDR 0x52 +#endif #define CONFIG_4xx_CONFIG_I2C_EEPROM_OFFSET 0 #define CONFIG_4xx_CONFIG_BLOCKSIZE 16 -- cgit