From: Rui Sousa Date: Wed, 8 Nov 2006 22:59:54 +0100 Subject: [U-Boot-Users] [PATCH] nand_wait() timeout fixes Message-ID: <200611082259.54947.rui.sousa@laposte.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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