diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2015-02-05 13:50:26 +0900 |
---|---|---|
committer | Heiko Schocher <hs@denx.de> | 2015-02-19 08:44:21 +0100 |
commit | 9e533cb0462a7d28ec14a816ea627d38ce48dbf3 (patch) | |
tree | 440af60e5cf49048d8f0d4778fb4ebe344b08fd6 /common/cmd_boot.c | |
parent | 1320112c8aa58345d71a5a46f3bf6a52589f1f2b (diff) | |
download | u-boot-imx-9e533cb0462a7d28ec14a816ea627d38ce48dbf3.zip u-boot-imx-9e533cb0462a7d28ec14a816ea627d38ce48dbf3.tar.gz u-boot-imx-9e533cb0462a7d28ec14a816ea627d38ce48dbf3.tar.bz2 |
cmd_i2c: quit I2C commands immediately on error
If the i2c driver returns an error status, error out immediately.
Continuing the loop just results in printing error messages
again and again.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Heiko Schocher <hs@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/cmd_boot.c')
0 files changed, 0 insertions, 0 deletions