Skip to content
Snippets Groups Projects
Commit cf976ce4 authored by Holger Brunck's avatar Holger Brunck Committed by Kim Phillips
Browse files

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: default avatarHolger Brunck <holger.brunck@keymile.com>
parent 811c8cad
No related branches found
No related tags found
No related merge requests found
...@@ -312,13 +312,9 @@ int ivm_read_eeprom(void) ...@@ -312,13 +312,9 @@ int ivm_read_eeprom(void)
#if defined(CONFIG_I2C_MUX) #if defined(CONFIG_I2C_MUX)
/* First init the Bus, select the Bus */ /* 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"); buf = (unsigned char *) getenv("EEprom_ivm");
if (buf != NULL) if (buf != NULL)
dev = i2c_mux_ident_muxstring(buf); dev = i2c_mux_ident_muxstring(buf);
#endif
if (dev == NULL) { if (dev == NULL) {
printf("Error couldnt add Bus for IVM\n"); printf("Error couldnt add Bus for IVM\n");
return -1; return -1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment