diff options
author | Torsten Fleischer <to-fleischer@t-online.de> | 2012-04-17 05:37:45 +0000 |
---|---|---|
committer | Heiko Schocher <hs@denx.de> | 2012-07-11 10:54:53 +0200 |
commit | fa86d1c0bf3f4c68aa565952f1fcafbe2aa2c050 (patch) | |
tree | f9244803902c1791006fbc66258f3f32bbadda1f /include | |
parent | 9ca37d78a35b590c8ecc93a1ecfca2411fde5fb7 (diff) | |
download | u-boot-imx-fa86d1c0bf3f4c68aa565952f1fcafbe2aa2c050.zip u-boot-imx-fa86d1c0bf3f4c68aa565952f1fcafbe2aa2c050.tar.gz u-boot-imx-fa86d1c0bf3f4c68aa565952f1fcafbe2aa2c050.tar.bz2 |
mxs-i2c: Fix internal address byte order
Large EEPROMs, e.g. 24lc32, need 2 byte to address the internal memory.
These devices require that the high byte of the internal address has to be
written first.
The mxs_i2c driver currently writes the address' low byte first.
The following patch fixes the byte order of the internal address that should
be written to the I2C device.
Signed-off-by: Torsten Fleischer <to-fleischer@t-online.de>
CC: Marek Vasut <marex@denx.de>
CC: Stefano Babic <sbabic@denx.de>
CC: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Marek Vasut <marex@denx.de>
Acked-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions