From eccfb49046fde7af9ae12ab59d97ae867368eaa8 Mon Sep 17 00:00:00 2001 From: Anatolij Gustschin Date: Mon, 1 Aug 2011 04:16:29 +0000 Subject: mpc5200: digsy_mtc: fix extension board EEPROM I2C address for rev5 On newer rev5 hardware the extension board EEPROM I2C address has been changed to 0x54. Make this I2C address configurable depending on CONFIG_DIGSY_REV5 so that extention board presence detection works correctly on newer hardware. Signed-off-by: Anatolij Gustschin --- include/configs/digsy_mtc.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include/configs/digsy_mtc.h') diff --git a/include/configs/digsy_mtc.h b/include/configs/digsy_mtc.h index ec5223cd1f..522ec57b13 100644 --- a/include/configs/digsy_mtc.h +++ b/include/configs/digsy_mtc.h @@ -288,6 +288,13 @@ #define CONFIG_SYS_DS1339_TCR_VAL 0xAB /* diode + 4k resistor */ #endif +/* ExBo I2C Addresses */ +#if defined(CONFIG_DIGSY_REV5) +#define CONFIG_SYS_EXBO_EE_I2C_ADDRESS 0x54 +#else +#define CONFIG_SYS_EXBO_EE_I2C_ADDRESS 0x56 +#endif + /* * Flash configuration */ -- cgit v1.2.3