diff options
author | Anatolij Gustschin <agust@denx.de> | 2011-08-01 04:16:29 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-08-04 23:32:33 +0200 |
commit | eccfb49046fde7af9ae12ab59d97ae867368eaa8 (patch) | |
tree | 62771df3bb5f6a9d2949b5dc09e4c6dedb530d25 /include | |
parent | 780f13a9e1a21098c6255aaa1c46ed80aa7a436c (diff) |
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 <agust@denx.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/digsy_mtc.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/configs/digsy_mtc.h b/include/configs/digsy_mtc.h index ec5223cd1f9..522ec57b13f 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 */ |