]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/keymile/common/ivm.c
km/common/ivm: remove CONFIG_SYS_I2C_IVM_BUS related code
[people/ms/u-boot.git] / board / keymile / common / ivm.c
index 7fe3b0fc097606a4d12e94ebf0c26b81ddd55c06..607daa6d655d592ca67e04a27a025cf1298952e7 100644 (file)
@@ -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;