From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Fri, 22 Jul 2016 20:10:48 -0400 Subject: [U-Boot] [U-Boot, v5, 07/26] armv7: add reset timeout to identify_nand_chip In-Reply-To: <1468348114-11442-8-git-send-email-ladis@linux-mips.org> References: <1468348114-11442-8-git-send-email-ladis@linux-mips.org> Message-ID: <20160723001048.GD14698@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Jul 12, 2016 at 08:28:15PM +0200, Ladislav Michl wrote: > identify_nand_chip hangs forever in loop when NAND is not present. > As IGEPv2 comes either with NAND or OneNAND flash, add reset timeout > to let function fail gracefully allowing caller to know NAND is > not present. On NAND equipped board, reset succeeds on first read, > so 1000 loops seems to be safe timeout. > > Signed-off-by: Ladislav Michl Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: