]> git.sur5r.net Git - u-boot/blobdiff - board/keymile/common/ivm.c
km/common/ivm: remove obsolete code
[u-boot] / board / keymile / common / ivm.c
index eaa924f0e6a6aae6dc5706db1f38e4cf7c058848..7fe3b0fc097606a4d12e94ebf0c26b81ddd55c06 100644 (file)
@@ -325,14 +325,6 @@ int ivm_read_eeprom(void)
        }
        i2c_set_bus_num(dev->busid);
 #endif
-
-       buf = (unsigned char *) getenv("EEprom_ivm_addr");
-       if (buf != NULL) {
-               ret = strict_strtoul((char *)buf, 16, &dev_addr);
-               if (ret != 0)
-                       return -3;
-       }
-
        /* add deblocking here */
        i2c_make_abort();