diff options
author | Alexey Brodkin <Alexey.Brodkin@synopsys.com> | 2013-11-07 17:51:43 +0400 |
---|---|---|
committer | Heiko Schocher <hs@denx.de> | 2013-11-13 06:21:21 +0100 |
commit | a2e0a45d2e1e258cbe9bd3dbbe7bc7cacbf7a84e (patch) | |
tree | 1e0d446d7eca064f48801329351027054135b417 /net | |
parent | 85bb251b393470c6d2a91b8f0f92b9f3fda856ca (diff) | |
download | u-boot-imx-a2e0a45d2e1e258cbe9bd3dbbe7bc7cacbf7a84e.zip u-boot-imx-a2e0a45d2e1e258cbe9bd3dbbe7bc7cacbf7a84e.tar.gz u-boot-imx-a2e0a45d2e1e258cbe9bd3dbbe7bc7cacbf7a84e.tar.bz2 |
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 'net')
0 files changed, 0 insertions, 0 deletions