[U-Boot] mtd: nand: am335x_spl_bch: Incorporate tWB delay in nand_command function
Tom Rini
trini at konsulko.com
Mon Apr 10 18:24:54 UTC 2017
On Thu, Apr 06, 2017 at 03:54:14PM -0500, Cooper Jr., Franklin wrote:
> Various commands to NAND flash results in the NAND flash becoming busy.
> For those commands the SoC should wait until the NAND indicates it is
> no longer busy before sending further commands. However, there is a delay
> between the time the SoC sends its last command and when the NAND flash
> sets its Ready/Busy Pin. This delay (tWB) must be respected or the SoC may
> falsely assume the flash is ready when in reality it just hasn't had enough
> time to indicate that it is busy.
>
> Properly delaying by tWB is already done for nand_command/nand_command_lp
> in nand_base.c including the version of it in the Linux kernel. Therefore,
> this patch brings the handling of tWB delay inline to nand_base.c
>
> Signed-off-by: Franklin S Cooper Jr <fcooper at ti.com>
A slight reformat to the comments and applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170410/f3304228/attachment.sig>
More information about the U-Boot
mailing list