[U-Boot-Users] [PATCH] nand_wait() timeout fixes

Rui Sousa rui.sousa at laposte.net
Wed Nov 8 22:59:54 CET 2006


Hi,

Two fixes for the nand_wait() function in
drivers/nand/nand_base.c:

1. Use correct timeouts. The original timeouts in Linux
source are 400ms and 20ms not 40s and 20s

2. Return correct error value in case of timeout. 0 is
interpreted as OK.

Please apply,
Rui
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nand_wait.patch
Type: text/x-diff
Size: 833 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20061108/3303234f/attachment.patch 


More information about the U-Boot mailing list