summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorHolger Brunck <holger.brunck@keymile.com>2013-01-21 03:55:14 +0000
committerKim Phillips <kim.phillips@freescale.com>2013-02-15 17:47:19 -0600
commit811c8cad7196acb0ae2dd6bf04919689e9d803dc (patch)
treeac58ec6c71643173828280f60ae05b094a1a6e21 /board
parenta5a614c129eaa6b9f0bdc2ea5da01789e18033b1 (diff)
km/common/ivm: remove obsolete code
EEprom_ivm_addr isn't set in our environment, so remove the usage of this. Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
Diffstat (limited to 'board')
-rw-r--r--board/keymile/common/ivm.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/board/keymile/common/ivm.c b/board/keymile/common/ivm.c
index eaa924f0e6a..7fe3b0fc097 100644
--- a/board/keymile/common/ivm.c
+++ b/board/keymile/common/ivm.c
@@ -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();