nand_wait() timeout fixes
PATCH 1/1 nand_wait() timeout fixes
Hi,
Two fixes for the nand_wait() function indrivers/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
Stefan Roese
AppliedPATCH 1/1 nand_wait() timeout fixes
Quoted 8 lines · Rui Sousa
Two fixes for the
nand_wait()function indrivers/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.
Applied. Thanks.
Best regards,
Stefan