From mboxrd@z Thu Jan 1 00:00:00 1970 From: Troy Kisky Date: Fri, 22 Jun 2012 11:01:39 -0700 Subject: [U-Boot] [PATCH 07/24] mxc_i2c: combine i2c_imx_bus_busy and i2c_imx_trx_complete into wait_for_sr_state In-Reply-To: <4FE4ACB9.8040305@boundarydevices.com> References: <1340338339-11626-1-git-send-email-troy.kisky@boundarydevices.com> <1340338339-11626-7-git-send-email-troy.kisky@boundarydevices.com> <201206221901.25455.marex@denx.de> <4FE4ACB9.8040305@boundarydevices.com> Message-ID: <4FE4B303.5070506@boundarydevices.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 6/22/2012 10:34 AM, Troy Kisky wrote: > On 6/22/2012 10:01 AM, Marek Vasut wrote: >> Dear Troy Kisky, >> >>> Not using udelay gives a more accurate timeout. The current >>> implementation >>> of udelay in imx-common does not seem to wait at all for a udelay(1). >>> >> Add WATCHDOG_RESET() please. > > Are you sure it is needed for a 0.1 second max delay? Hmm, I agree. Retries could increase the delay. > >>> Signed-off-by: Troy Kisky >>> --- >> Best regards, >> Marek Vasut >> > > Thanks for the reviews Marek. Troy