[U-Boot] A question about unconfigured pads check in omap24xx_i2c
Nikita Kiryanov
nikita at compulab.co.il
Wed Nov 6 13:12:27 CET 2013
In drivers/i2c/omap24xx_i2c.c there are a few checks that attempt to
detect unconfigured pads for the i2c bus in use. These checks are
all in the form of
if (status == I2C_STAT_XRDY) {
printf("unconfigured pads\n");
return -1;
}
This check seems peculiar to me since the meaning of I2C_STAT_XRDY is
that new data is requested for transmission. Why is that indication that
the bus is not padconf'd for I2C?
--
Regards,
Nikita.
More information about the U-Boot
mailing list