summaryrefslogtreecommitdiff
path: root/board/keymile/common
diff options
context:
space:
mode:
authorHolger Brunck <holger.brunck@keymile.com>2013-01-21 03:55:15 +0000
committerKim Phillips <kim.phillips@freescale.com>2013-02-15 17:47:19 -0600
commitcf976ce478b8d7fd62184eac24caa1d31c7d8c55 (patch)
treeda2e06006d530624c437d8af14783527809a8118 /board/keymile/common
parent811c8cad7196acb0ae2dd6bf04919689e9d803dc (diff)
downloadu-boot-imx-cf976ce478b8d7fd62184eac24caa1d31c7d8c55.zip
u-boot-imx-cf976ce478b8d7fd62184eac24caa1d31c7d8c55.tar.gz
u-boot-imx-cf976ce478b8d7fd62184eac24caa1d31c7d8c55.tar.bz2
km/common/ivm: remove CONFIG_SYS_I2C_IVM_BUS related code
This define isn't set within our setup files. So we can safely remove the affected code. Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
Diffstat (limited to 'board/keymile/common')
-rw-r--r--board/keymile/common/ivm.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/board/keymile/common/ivm.c b/board/keymile/common/ivm.c
index 7fe3b0f..607daa6 100644
--- a/board/keymile/common/ivm.c
+++ b/board/keymile/common/ivm.c
@@ -312,13 +312,9 @@ int ivm_read_eeprom(void)
#if defined(CONFIG_I2C_MUX)
/* First init the Bus, select the Bus */
-#if defined(CONFIG_SYS_I2C_IVM_BUS)
- dev = i2c_mux_ident_muxstring((uchar *)CONFIG_SYS_I2C_IVM_BUS);
-#else
buf = (unsigned char *) getenv("EEprom_ivm");
if (buf != NULL)
dev = i2c_mux_ident_muxstring(buf);
-#endif
if (dev == NULL) {
printf("Error couldnt add Bus for IVM\n");
return -1;