提交 811c8cad 编写于 作者: H Holger Brunck 提交者: Kim Phillips

km/common/ivm: remove obsolete code

EEprom_ivm_addr isn't set in our environment, so remove the usage of
this.
Signed-off-by: NHolger Brunck <holger.brunck@keymile.com>
上级 a5a614c1
......@@ -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();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册