summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2013-04-30 09:58:28 -0400
committerTom Rini <trini@ti.com>2013-05-01 10:37:35 -0400
commitce5346a80599a714962d3fc4bf90ddf0d2e62299 (patch)
treec48e733d50ce9c04cce6969bc826dea57cd5acc4
parent92daa4d2cff74d35a8b479c27a419025a464533f (diff)
parentc55285015ab0c94265665af01c80e60b080f5ac4 (diff)
Merge branch 'master' of git://git.denx.de/u-boot-i2c
-rw-r--r--post/drivers/i2c.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/post/drivers/i2c.c b/post/drivers/i2c.c
index 4cbd9f3703f..c93ae25c4c1 100644
--- a/post/drivers/i2c.c
+++ b/post/drivers/i2c.c
@@ -100,6 +100,8 @@ int i2c_post_test (int flags)
for (i = 0; i < sizeof(i2c_addr_list); ++i) {
if (i2c_addr_list[i] == 0xff)
continue;
+ if (i2c_ignore_device(i2c_addr_list[i]))
+ continue;
post_log("I2C: addr %02x did not respond\n", i2c_addr_list[i]);
ret = -1;
}