summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2009-08-17 16:57:53 +0200
committerStefan Roese <sr@denx.de>2009-08-18 09:16:33 +0200
commit514bab6609acd1a2a19fdd75c2f6255178db7c96 (patch)
tree3865a6578ec15d52d075fbb9db7824aa10d5538d /include
parent7dedefdf749ff02c1086f7ddb8cb83a77b00d030 (diff)
downloadu-boot-imx-514bab6609acd1a2a19fdd75c2f6255178db7c96.zip
u-boot-imx-514bab6609acd1a2a19fdd75c2f6255178db7c96.tar.gz
u-boot-imx-514bab6609acd1a2a19fdd75c2f6255178db7c96.tar.bz2
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 <sr@denx.de>
Diffstat (limited to 'include')
-rw-r--r--include/configs/canyonlands.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/configs/canyonlands.h b/include/configs/canyonlands.h
index 217a8ee..3dddccf 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