[U-Boot] [PATCH 14/17] xes: Ignore XMC EEPROMs during I2C POST

Peter Tyser
2010-09-29T19:05:53Z

The XPedite517x/537x cards can host an XMC card which contain an I2C
EEPROM at address 0x50. The XMC card is optional, so the EEPROM won't
always be present.

Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
CC: Kumar Gala <galak@kernel.crashing.org>
---
include/configs/xpedite517x.h | 2 ++
include/configs/xpedite537x.h | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/include/configs/xpedite517x.h b/include/configs/xpedite517x.h
index 54c39ba..43f1406 100644
--- a/include/configs/xpedite517x.h
+++ b/include/configs/xpedite517x.h
@@ -118,6 +118,8 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
CONFIG_SYS_I2C_PCA953X_ADDR3, \
CONFIG_SYS_I2C_PEX8518_ADDR, \
CONFIG_SYS_I2C_RTC_ADDR}
+/* The XPedite5170 can host an XMC which has an EEPROM at address 0x50 */
+#define I2C_ADDR_IGNORE_LIST {0x50}

/*
* Memory map
diff --git a/include/configs/xpedite537x.h b/include/configs/xpedite537x.h
index 27bf5a6..1fbe0cf 100644
--- a/include/configs/xpedite537x.h
+++ b/include/configs/xpedite537x.h
@@ -119,6 +119,8 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
CONFIG_SYS_I2C_PCA953X_ADDR3, \
CONFIG_SYS_I2C_PEX8518_ADDR, \
CONFIG_SYS_I2C_RTC_ADDR}
+/* The XPedite5370 can host an XMC which has an EEPROM at address 0x50 */
+#define I2C_ADDR_IGNORE_LIST {0x50}

/*
* Memory map
--
1.7.0.4