]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
mgcoge, mgsuvd: add board specific I2C deblocking mechanism.
authorHeiko Schocher <hs@denx.de>
Wed, 15 Oct 2008 07:39:08 +0000 (09:39 +0200)
committerWolfgang Denk <wd@denx.de>
Sat, 18 Oct 2008 19:54:02 +0000 (21:54 +0200)
commitc24853644ddd2dd2e4246b5854a93e6254a14092
tree4c3d35cd9f55e725fd1bd3c0c6b792cc74df403b
parent4ca107effebfbabac1057c39632105dacef95957
mgcoge, mgsuvd: add board specific I2C deblocking mechanism.

As documented in doc/I2C_Edge_Conditions, adding a
board specific deblocking mechanism via CFG_I2C_INIT_BOARD
for the mgcoge and mgsuvd board.

This code was originally written by Keymile in association
with Anatech and Atmel in 1998. The Code toggels the SCL
until the SCA line goes to HIGH (max. 16 times).
And after this, a start condition is sent.

This is another approach to deblock the I2C Bus. The
soft I2C driver actually sends 9 clocks with SDA High,
and then a stop at the end, to deblock the I2C Bus.

Maybe we should use the approach from Keymile as
the new standard?

Signed-off-by: Heiko Schocher <hs@denx.de>
board/keymile/common/common.c [new file with mode: 0644]
board/keymile/mgcoge/Makefile
board/keymile/mgsuvd/Makefile
include/configs/mgcoge.h
include/configs/mgsuvd.h