public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] A question about unconfigured pads check in omap24xx_i2c
@ 2013-11-06 12:12 Nikita Kiryanov
  2013-11-06 13:19 ` Lubomir Popov
  0 siblings, 1 reply; 10+ messages in thread
From: Nikita Kiryanov @ 2013-11-06 12:12 UTC (permalink / raw)
  To: u-boot

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.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2013-11-11 15:51 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-06 12:12 [U-Boot] A question about unconfigured pads check in omap24xx_i2c Nikita Kiryanov
2013-11-06 13:19 ` Lubomir Popov
2013-11-07  5:14   ` Heiko Schocher
2013-11-07  7:57     ` Lubomir Popov
2013-11-07  8:04       ` Heiko Schocher
2013-11-07  8:15         ` Lubomir Popov
2013-11-08 17:27   ` Nikita Kiryanov
2013-11-08 21:26     ` Lubomir Popov
2013-11-11 11:15       ` Nikita Kiryanov
2013-11-11 15:51         ` Lubomir Popov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox