summaryrefslogtreecommitdiff
path: root/cmd/mii.c
diff options
context:
space:
mode:
authorMoritz Fischer <moritz.fischer@ettus.com>2017-01-16 09:50:46 -0800
committerHeiko Schocher <hs@denx.de>2017-01-18 06:38:20 +0100
commit08c11aaefb0a81ab53337068d0d21035055665d1 (patch)
tree268da72259d10b288f633f2b85d136f5e2ea1d77 /cmd/mii.c
parent0ec0c5864365f3f222e1652aca98cfbd86bae890 (diff)
downloadu-boot-imx-08c11aaefb0a81ab53337068d0d21035055665d1.zip
u-boot-imx-08c11aaefb0a81ab53337068d0d21035055665d1.tar.gz
u-boot-imx-08c11aaefb0a81ab53337068d0d21035055665d1.tar.bz2
i2c: i2c-cdns: Implement workaround for hold quirk of the rev 1.0
Revision 1.0 of this IP has a quirk where if during a long read transfer the transfer_size register will go to 0, the master will send a NACK to the slave prematurely. The way to work around this is to reprogram the transfer_size register mid-transfer when the only the receive fifo is known full, i.e. the I2C bus is known non-active. The workaround is based on the implementation in the linux-kernel. Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com> Cc: Heiko Schocher <hs@denx.de> Cc: Michal Simek <michal.simek@xilinx.com> Cc: u-boot@lists.denx.de
Diffstat (limited to 'cmd/mii.c')
0 files changed, 0 insertions, 0 deletions