post: fix I2C POST failure for devices in CONFIG_SYS_POST_I2C_IGNORES
authorAnatolij Gustschin <agust@denx.de>
Mon, 15 Apr 2013 04:01:07 +0000 (04:01 +0000)
committerTom Rini <trini@ti.com>
Wed, 1 May 2013 14:37:35 +0000 (10:37 -0400)
commitc55285015ab0c94265665af01c80e60b080f5ac4
tree7db03acb9102599aebfa47f6bf8eb4e163647710
parent19fe4b3e3122071fbe6481df05bd819405e1983e
post: fix I2C POST failure for devices in CONFIG_SYS_POST_I2C_IGNORES

Devices in CONFIG_SYS_POST_I2C_IGNORES list may be absent
and the rule is not to report I2C POST failure for devices
in this list. Currently this doesn't work since probing for
these devices isn't done and thus they are not marked as
successfully probed. Ignore optional devices when checking
for devices that didn't respond.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
post/drivers/i2c.c