From 02ab0970b3ae7b2d535a1231ad259e3114d09772 Mon Sep 17 00:00:00 2001 From: Anatolij Gustschin Date: Wed, 7 Dec 2011 06:05:55 +0000 Subject: 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 --- include/configs/digsy_mtc.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'include/configs/digsy_mtc.h') diff --git a/include/configs/digsy_mtc.h b/include/configs/digsy_mtc.h index d0d1eda..d517334 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 */ -- cgit v1.1