diff options
author | Stefan Roese <sr@denx.de> | 2006-11-27 17:22:19 +0100 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2006-11-27 17:24:40 +0100 |
commit | 15784862857c3c2214498defcfed84ff137fb81e (patch) | |
tree | 00fb89e8966770ca7985cdbb7ad4addd4b881d42 /lib_m68k | |
parent | 3b58d9459081ae33885335c645fc0b865584ae4e (diff) | |
download | u-boot-imx-15784862857c3c2214498defcfed84ff137fb81e.zip u-boot-imx-15784862857c3c2214498defcfed84ff137fb81e.tar.gz u-boot-imx-15784862857c3c2214498defcfed84ff137fb81e.tar.bz2 |
[PATCH] nand_wait() timeout fixes
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.
Signed-off-by: Rui Sousa <rui.sousa@laposte.net>
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'lib_m68k')
0 files changed, 0 insertions, 0 deletions