]> git.dujemihanovic.xyz Git - u-boot.git/commit
env_eeprom - fix bus recovery for "eeprom_bus_read"
authorAlexey Brodkin <Alexey.Brodkin@synopsys.com>
Wed, 11 Dec 2013 14:04:40 +0000 (18:04 +0400)
committerHeiko Schocher <hs@denx.de>
Mon, 13 Jan 2014 07:17:27 +0000 (08:17 +0100)
commit6d001e7df9e4b33b9be9bc4117091365b2ff1607
treeea24d9bdd20ba085f8d3da1d1d6a44f404c5973f
parentda1ed0d20e992296aaafb75e545890bce933d340
env_eeprom - fix bus recovery for "eeprom_bus_read"

"env_eeprom_bus" is no longer in use (it was introduced in commit
548738b4d43af841ff58c787bce297ac6a8bf7d1 "cmd_eeprom: I2C updates").

As in "eeprom_bus_write" we just reset I2C bus with the one we saved in
"old_bus".

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Tom Rini <trini@ti.com>
Cc: Heiko Schocher <hs@denx.de>
common/env_eeprom.c