]> git.sur5r.net Git - u-boot/commit
keymile, common; fix i2c deblocking support
authorHeiko Schocher <hs@denx.de>
Tue, 8 Mar 2011 09:51:15 +0000 (10:51 +0100)
committerWolfgang Denk <wd@denx.de>
Fri, 29 Apr 2011 22:45:09 +0000 (00:45 +0200)
commit6c11aeafeff8e0aa0b381baf5bcb1807de77e42e
tree2bf2ad050a0f62a61d959a37d5200c2cf297f296
parent8ed74341ba5c54751e209f571002e5b967abf176
keymile, common; fix i2c deblocking support

This patch fix the i2c deblocking facility with the i2c HW-Controller.
The required delays for byte reading, the enhanced criteria for stop
the dummy read and required 5 start/stop sequences are added.

Add i2c deblocking before ivm eeprom read.

Improve i2c deblocking sequence by respecting stop hold time.

Cleaned function for deblocking. Have now one function i2c_make_abort()
available for bitbang, mpc82xx and mpc83xx harware controller.

Signed-off-by: Stefan Bigler <stefan.bigler@keymile.com>
Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
Signed-off-by: Heiko Schocher <hs@denx.de>
cc: Valentin Longchamp <valentin.longchamp@keymile.com>
board/keymile/common/common.c