commit | 017568ea423ab2559fbfe6d6c5be227edd591b1a | [log] [tgz] |
---|---|---|
author | Heiko Schocher <hs@denx.de> | Wed Oct 15 09:33:30 2008 +0200 |
committer | Wolfgang Denk <wd@denx.de> | Sat Oct 18 21:54:01 2008 +0200 |
tree | 66b24fe19b73696228ebc958fa430b78d65f0927 | |
parent | b95ab5c69cb9e39defa60f1cee91dc3bf35c8f9d [diff] |
I2C: add new command i2c reset. If I2C Bus is blocked (see doc/I2C_Edge_Conditions), it is not possible to get out of this, until the complete Hardware gets a reset. This new commando calls again i2c_init (and that calls i2c_init_board if defined), which will deblock the I2C Bus. Signed-off-by: Heiko Schocher <hs@denx.de> Signed-off-by: Wolfgang Denk <wd@denx.de>