From: Bin Meng Date: Mon, 28 Sep 2009 07:11:04 +0800 Subject: [U-Boot] [PATCH v2] ppc/85xx: PIO Support for FSL eSDHC Controller Driver In-Reply-To: <1252589856-4970-1-git-send-email-dipen.dudhat@freescale.com> References: <1252589856-4970-1-git-send-email-dipen.dudhat@freescale.com> Message-ID: <9bf601f70909271611n6f99318eh7df692880af56fe1@mail.gmail.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 Thu, Sep 10, 2009 at 9:37 PM, Dipen Dudhat wrote: > + while (size && (!(irqstat & IRQSTAT_TC))) { > + udelay(100); > + irqstat = in_be32(®s->irqstat); > + databuf = in_le32(®s->datport); > + *((uint *)buffer) = databuf; > + buffer += 4; > + size -= 4; > + } Is the udelay(100) the recommended delay time by the chip manual or empirical value? Can you add a comment before the udelay? Regards, Bin Meng