From mboxrd@z Thu Jan 1 00:00:00 1970 From: Troy Kisky Date: Fri, 22 Jun 2012 10:34:49 -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: <201206221901.25455.marex@denx.de> 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> Message-ID: <4FE4ACB9.8040305@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: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? >> Signed-off-by: Troy Kisky >> --- > Best regards, > Marek Vasut >