mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-13 05:55:02 -04:00
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>
This commit is contained in:
parent
a5a614c129
commit
811c8cad71
@ -325,14 +325,6 @@ int ivm_read_eeprom(void)
|
|||||||
}
|
}
|
||||||
i2c_set_bus_num(dev->busid);
|
i2c_set_bus_num(dev->busid);
|
||||||
#endif
|
#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 */
|
/* add deblocking here */
|
||||||
i2c_make_abort();
|
i2c_make_abort();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user