summaryrefslogtreecommitdiff
path: root/include/configs/xpedite520x.h
diff options
context:
space:
mode:
authorPeter Tyser <ptyser@xes-inc.com>2010-10-22 00:20:33 -0500
committerKumar Gala <galak@kernel.crashing.org>2010-10-22 03:04:37 -0500
commit66a8b440af02397ffb3f850e9195c50fb5d37da6 (patch)
tree51229186c49e5d2e237f92b248d97646eea2f85d /include/configs/xpedite520x.h
parent65f23519d65f56a3a894fcf4d748e5e96ef7166d (diff)
xes: Add POST support for 8xxx boards
Add memory and I2C posts to the XPedite517x/520x/537x board families. Signed-off-by: Peter Tyser <ptyser@xes-inc.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include/configs/xpedite520x.h')
-rw-r--r--include/configs/xpedite520x.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/configs/xpedite520x.h b/include/configs/xpedite520x.h
index fc15d8e83e..2f313371c5 100644
--- a/include/configs/xpedite520x.h
+++ b/include/configs/xpedite520x.h
@@ -93,6 +93,13 @@
#define CONFIG_SYS_ALT_MEMTEST
#define CONFIG_SYS_MEMTEST_START 0x10000000
#define CONFIG_SYS_MEMTEST_END 0x20000000
+#define CONFIG_POST (CONFIG_SYS_POST_MEMORY | \
+ CONFIG_SYS_POST_I2C)
+#define I2C_ADDR_LIST {CONFIG_SYS_I2C_MAX1237_ADDR, \
+ CONFIG_SYS_I2C_EEPROM_ADDR, \
+ CONFIG_SYS_I2C_PCA953X_ADDR0, \
+ CONFIG_SYS_I2C_PCA953X_ADDR1, \
+ CONFIG_SYS_I2C_RTC_ADDR}
/*
* Memory map
@@ -265,6 +272,9 @@
#define CONFIG_SYS_PCA953X_P14_IO6 0x40
#define CONFIG_SYS_PCA953X_P14_IO7 0x80
+/* 12-bit ADC used to measure CPU diode */
+#define CONFIG_SYS_I2C_MAX1237_ADDR 0x34
+
/*
* General PCI
* Memory space is mapped 1-1, but I/O space must start from 0.