[U-Boot] i2c loop command

Heiko Schocher hs at denx.de
Mon May 27 09:58:54 CEST 2013


Hello,

Am 27.05.2013 08:08, schrieb TigerLiu at viatech.com.cn:
> Hi, experts:
> There is an iloop command in older version uboot.
> Current uboot also included "i2c loop" cmd.

Yes.

> It's an infinite loop on i2c_read.

Yes!

> So, when to use this command?
> Just for debugging I2C read function?

If you want to read in a loop from an i2c chip addr ... It is in the
first place for debugging purposes.

bye,
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany


More information about the U-Boot mailing list