]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - post/drivers/i2c.c
post: fix I2C POST failure for devices in CONFIG_SYS_POST_I2C_IGNORES
[people/ms/u-boot.git] / post / drivers / i2c.c
index 4cbd9f3703f8f2b9f47cf9ad0626a2dbdbf281dc..c93ae25c4c121d472ead627e7b7a258ecbb33703 100644 (file)
@@ -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;
        }