summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAnatolij Gustschin <agust@denx.de>2011-12-07 06:05:55 +0000
committerWolfgang Denk <wd@denx.de>2011-12-12 08:17:05 +0100
commit02ab0970b3ae7b2d535a1231ad259e3114d09772 (patch)
tree7917eae245a8871c19e8af7367f57239e5215ce0 /include
parentb2eb7d9bc6032e16b7dd898f7c0ea654f63b61db (diff)
downloadtalos-obmc-uboot-02ab0970b3ae7b2d535a1231ad259e3114d09772.tar.gz
talos-obmc-uboot-02ab0970b3ae7b2d535a1231ad259e3114d09772.zip
mpc5200: digsy_mtc: Fix extension board detection
Switch to extension board detection using pci_find_device() instead of detecting by i2c access to EEPROM device on extension board. This is a cleaner detection method since EEPROM addresses can be different on different board revisions. This also avoids "i2c_read: failed to address chip" error messages in the boot log on boards without extension board which may confuse users. Signed-off-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'include')
-rw-r--r--include/configs/digsy_mtc.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/configs/digsy_mtc.h b/include/configs/digsy_mtc.h
index d0d1eda608..d5173349c4 100644
--- a/include/configs/digsy_mtc.h
+++ b/include/configs/digsy_mtc.h
@@ -289,13 +289,6 @@
#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
*/
OpenPOWER on IntegriCloud