]> git.sur5r.net Git - u-boot/commitdiff
km/common/ivm: remove obsolete code
authorHolger Brunck <holger.brunck@keymile.com>
Mon, 21 Jan 2013 03:55:14 +0000 (03:55 +0000)
committerKim Phillips <kim.phillips@freescale.com>
Fri, 15 Feb 2013 23:47:19 +0000 (17:47 -0600)
EEprom_ivm_addr isn't set in our environment, so remove the usage of
this.

Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
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();