summaryrefslogtreecommitdiff
path: root/common/env_mmc.c
diff options
context:
space:
mode:
authorFugang Duan <b38611@freescale.com>2014-08-11 15:14:50 +0800
committerhaibo.chen <haibo.chen@freescale.com>2014-08-25 11:30:25 +0800
commit53118db42d201d36ca9067b4bb0e2702399e100b (patch)
treec56f7730e1eff5012f5a64fe3b3b9e32c0a8f5d0 /common/env_mmc.c
parent01996acd7788c831fc06872c59af99f3bd6f6b03 (diff)
downloadu-boot-imx-53118db42d201d36ca9067b4bb0e2702399e100b.zip
u-boot-imx-53118db42d201d36ca9067b4bb0e2702399e100b.tar.gz
u-boot-imx-53118db42d201d36ca9067b4bb0e2702399e100b.tar.bz2
ENGR00328312 i2c: imx: Optimize the i2c device recovery solution
From i2c spec, if device pull down the SDA line that causes i2c bus dead, host can send out 9 clock to let device release SDA. But for some special device like pfuze100, it pull down SDA line and the solution cannot take effort. The patch just add NACK and STOP signal after 8 dummy clock, and pmic can release SDA line after the recovery. Test case catch 375 times of i2c hang, and all are recovered. Signed-off-by: Fugang Duan <B38611@freescale.com>
Diffstat (limited to 'common/env_mmc.c')
0 files changed, 0 insertions, 0 deletions