summaryrefslogtreecommitdiff
path: root/drivers/i2c/sh_i2c.c
diff options
context:
space:
mode:
authorDirk Eibach <dirk.eibach@gdsys.cc>2014-10-29 15:56:43 +0100
committerHeiko Schocher <hs@denx.de>2014-11-10 06:44:15 +0100
commit7e78f7ad7f7f666598bc2ff115ea7a35f8e059f1 (patch)
tree32f580faeeed7ad52997208493dd936b54c80313 /drivers/i2c/sh_i2c.c
parent11ada9225a16ed2d8ddbf0715a2416245a777cbc (diff)
downloadu-boot-imx-7e78f7ad7f7f666598bc2ff115ea7a35f8e059f1.zip
u-boot-imx-7e78f7ad7f7f666598bc2ff115ea7a35f8e059f1.tar.gz
u-boot-imx-7e78f7ad7f7f666598bc2ff115ea7a35f8e059f1.tar.bz2
ppc4xx: Fix i2c repeated start
Debugging some i2c trouble I saw on my scope that repeated start is not working properply. The 4xx even held clock pulled down after transfers. Having a look in the driver I realized that IIC_CNTL_RPST is set on that part of the transfer that should begin with a repeated start. But repeated start is about not sending a stop condition, so IIC_CNTL_RPST has to be set on the last transfer before the repeated start happens. Signed-off-by: Dirk Eibach <dirk.eibach@gdsys.cc> Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'drivers/i2c/sh_i2c.c')
0 files changed, 0 insertions, 0 deletions