From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Schocher Date: Mon, 27 May 2013 09:58:54 +0200 Subject: [U-Boot] i2c loop command In-Reply-To: References: Message-ID: <51A3123E.9080404@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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