[U-Boot] [U-Boot, v5, 07/26] armv7: add reset timeout to identify_nand_chip

Tom Rini trini at konsulko.com
Sat Jul 23 02:10:48 CEST 2016


On Tue, Jul 12, 2016 at 08:28:15PM +0200, Ladislav Michl wrote:

> identify_nand_chip hangs forever in loop when NAND is not present.
> As IGEPv2 comes either with NAND or OneNAND flash, add reset timeout
> to let function fail gracefully allowing caller to know NAND is
> not present. On NAND equipped board, reset succeeds on first read,
> so 1000 loops seems to be safe timeout.
> 
> Signed-off-by: Ladislav Michl <ladis at linux-mips.org>

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/20160722/db158c30/attachment.sig>


More information about the U-Boot mailing list