I2C: add new command i2c reset.
authorHeiko Schocher <hs@denx.de>
Wed, 15 Oct 2008 07:33:30 +0000 (09:33 +0200)
committerWolfgang Denk <wd@denx.de>
Sat, 18 Oct 2008 19:54:01 +0000 (21:54 +0200)
commite43a27c49712203fe8848a17714330623edfb2eb
tree66b24fe19b73696228ebc958fa430b78d65f0927
parent86e9cdf8c415c1a9725e9dae5237ba1e7bd9f686
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>
common/cmd_i2c.c