From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Tue, 28 Nov 2006 10:43:54 +0100 (MET) Subject: [U-Boot-Users] [PATCH] nand_wait() timeout fixes In-Reply-To: <200611082259.54947.rui.sousa@laposte.net> References: <200611082259.54947.rui.sousa@laposte.net> Message-ID: <200611281043.55480.sr@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wednesday 08 November 2006 22:59, Rui Sousa wrote: > 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. Applied. Thanks. Best regards, Stefan