summaryrefslogtreecommitdiffstats
path: root/include/configs
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2012-01-20 11:52:33 +0100
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-07-07 14:07:43 +0200
commit496ba48f5ec60187d9ff7e4298e3d37677d74530 (patch)
treed981029cc4a18ad136646b0cfa67f2fc5ac9246e /include/configs
parent038f3c54ba9a7ab4552943f47efe8f05736b1732 (diff)
downloadblackbird-obmc-uboot-496ba48f5ec60187d9ff7e4298e3d37677d74530.tar.gz
blackbird-obmc-uboot-496ba48f5ec60187d9ff7e4298e3d37677d74530.zip
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 'include/configs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud