summaryrefslogtreecommitdiff
path: root/post/drivers/i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'post/drivers/i2c.c')
-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;
}