diff options
author | Alexey Brodkin <Alexey.Brodkin@synopsys.com> | 2013-11-07 13:51:43 (GMT) |
---|---|---|
committer | Heiko Schocher <hs@denx.de> | 2013-11-13 05:21:21 (GMT) |
commit | a2e0a45d2e1e258cbe9bd3dbbe7bc7cacbf7a84e (patch) | |
tree | 1e0d446d7eca064f48801329351027054135b417 /board | |
parent | 85bb251b393470c6d2a91b8f0f92b9f3fda856ca (diff) | |
download | u-boot-fsl-qoriq-a2e0a45d2e1e258cbe9bd3dbbe7bc7cacbf7a84e.tar.xz |
cmd_eeprom: fix i2c_{read|write} usage if env is in I2C EEPROM
Data "offset" is not used directly in case of I2C EEPROM. Istead it is
split into "block number" and "offset within mentioned block". Which are
"addr[0]" and "addr[1]" respectively.
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
cc: Peter Tyser <ptyser@xes-inc.com>
Cc: Heiko Schocher <hs@denx.de>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Stefan Roese <sr@denx.de>
Cc: Mischa Jonker <mjonker@synopsys.com>
Diffstat (limited to 'board')
0 files changed, 0 insertions, 0 deletions