From: Bin Meng Date: Mon, 5 Oct 2009 16:29:06 +0800 Subject: [U-Boot] [PATCH v2] ppc/85xx: PIO Support for FSL eSDHC Controller Driver In-Reply-To: References: <1252589856-4970-1-git-send-email-dipen.dudhat@freescale.com> <9bf601f70909271611n6f99318eh7df692880af56fe1@mail.gmail.com> Message-ID: <9bf601f70910050129h2996e169lbc514e4950bd968d@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 Hi Dipen, On Thu, Oct 1, 2009 at 12:48 PM, Dudhat Dipen-B09055 wrote: > > Hi Bin, > > We can know the block transfer complete using IRQSTAT(Transfer > Complete). > But reading & writing in PIO mode takes time for byte by byte transfers > and there is no way to poll that transfer, that's why I have added delay > there. > Yes, I understand there is no such a register in Freescale eSDHC that provides status check for PIO mode. I am just wondering where the delay value 100 us comes from. Is it the required minimum value? > I can add comment like, > \* Wait before last byte transfer complete *\ > Is that ok ?? > Sure, adding a comment line would help a lot. Regards, Bin Meng