diff options
author | Wolfgang Denk <wd@denx.de> | 2010-11-19 22:02:40 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-11-19 22:02:40 +0100 |
commit | b9d77535e9335b554af03aa0e0a54b664677d018 (patch) | |
tree | 4925e2afb12d925ccfb4c7f8f07d982ae3e9f941 /post/drivers | |
parent | b68ef0dbcec32147aaefdf6781aeca1a3e646394 (diff) | |
parent | 9b107e6138e719ea5a0b924862a9b109c020c7ac (diff) | |
download | u-boot-imx-b9d77535e9335b554af03aa0e0a54b664677d018.zip u-boot-imx-b9d77535e9335b554af03aa0e0a54b664677d018.tar.gz u-boot-imx-b9d77535e9335b554af03aa0e0a54b664677d018.tar.bz2 |
Merge branch 'master' of git://git.denx.de/u-boot-i2c
Diffstat (limited to 'post/drivers')
-rw-r--r-- | post/drivers/i2c.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/post/drivers/i2c.c b/post/drivers/i2c.c index 4a1b1a4..4cbd9f3 100644 --- a/post/drivers/i2c.c +++ b/post/drivers/i2c.c @@ -63,11 +63,12 @@ int i2c_post_test (int flags) unsigned int i; #ifndef CONFIG_SYS_POST_I2C_ADDRS /* Start at address 1, address 0 is the general call address */ - for (i = 1; i < 128; i++) + for (i = 1; i < 128; i++) { if (i2c_ignore_device(i)) continue; if (i2c_probe (i) == 0) return 0; + } /* No devices found */ return -1; |