diff options
author | Tetsuyuki Kobayashi <koba@kmckk.co.jp> | 2012-09-13 19:08:00 +0000 |
---|---|---|
committer | Heiko Schocher <hs@denx.de> | 2012-10-16 05:47:20 +0200 |
commit | d042d7121b13d98bd403e7b64438ce55cfefd0d9 (patch) | |
tree | 46bb768ee28991cb13da59ecf9827c7836d1ae61 /examples/api | |
parent | 020ec727a6bda10f47d69926814d476c0085e8a9 (diff) | |
download | u-boot-imx-d042d7121b13d98bd403e7b64438ce55cfefd0d9.zip u-boot-imx-d042d7121b13d98bd403e7b64438ce55cfefd0d9.tar.gz u-boot-imx-d042d7121b13d98bd403e7b64438ce55cfefd0d9.tar.bz2 |
i2c: sh_i2c: enable i2c_probe
Before this patch i2c_probe() always returned 0 and "i2c probe" command did not work properly.
Modify i2c_set_addr() to check TACK when waiting DTE and make i2c_probe() call this function.
Acked-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp>
Diffstat (limited to 'examples/api')
0 files changed, 0 insertions, 0 deletions