diff options
author | Stefan Roese <sr@denx.de> | 2012-01-20 11:52:33 +0100 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-07-07 14:07:43 +0200 |
commit | 496ba48f5ec60187d9ff7e4298e3d37677d74530 (patch) | |
tree | d981029cc4a18ad136646b0cfa67f2fc5ac9246e /board/bc3450 | |
parent | 038f3c54ba9a7ab4552943f47efe8f05736b1732 (diff) | |
download | u-boot-imx-496ba48f5ec60187d9ff7e4298e3d37677d74530.zip u-boot-imx-496ba48f5ec60187d9ff7e4298e3d37677d74530.tar.gz u-boot-imx-496ba48f5ec60187d9ff7e4298e3d37677d74530.tar.bz2 |
i2c: designware_i2c.c: Add support for the "i2c probe" command
i2c_probe() is changed to reinit the i2c bus upon read failure.
This is naturally the case upon i2c bus probing.
Also, some printf messages upon read failure are removed. As they
would interfere with the "i2c probe" command.
Additionally, i2c_set_bus_speed() now returns 0, so that the
"i2c speed" command can be used.
Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Amit Virdi <amit.virdi@st.com>
Cc: Vipin Kumar <vipin.kumar@st.com>
Diffstat (limited to 'board/bc3450')
0 files changed, 0 insertions, 0 deletions