From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tolunay Orkun Date: Thu, 20 Jul 2006 18:22:06 -0500 Subject: [U-Boot-Users] skipping bad blocks when erasing nand In-Reply-To: <003a01c6a9e9$f371bf70$a134800a@RudiDell> References: <003a01c6a9e9$f371bf70$a134800a@RudiDell> Message-ID: <44C0101E.1090505@orkun.us> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de David Byron wrote: > On Friday, July 14th, Wolfgang Denk wrote: > >> I tend to agree here, which was the reason that I said I was willing >> to accept the patch, but that at least the printf() shoould be kept >> so that the user gets the warning. > > Sorry for the delay. Here's a patch that lets the erase continue, but does > print a message. Instead of printing a message for each block, I think it would be neater to give a summary at the end like: x blocks erased successfully. y blocks ignored. nand bad command gives the list anyway if someone is more inclined to find out what blocks. What do you (and Wolfgang) think about my proposal? Tolunay