From: Scott Wood Date: Thu, 11 Dec 2014 14:37:10 -0600 Subject: [U-Boot] [PATCH] mtd: nand: revive "nand scrub" command In-Reply-To: <1418294969-7116-1-git-send-email-yamada.m@jp.panasonic.com> References: <1418294969-7116-1-git-send-email-yamada.m@jp.panasonic.com> Message-ID: <1418330230.5581.54.camel@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, 2014-12-11 at 19:49 +0900, Masahiro Yamada wrote: > Since commit ff94bc40af34 (mtd, ubi, ubifs: resync with Linux-3.14), > the "nand scrub" command has not been working. > > The scrub is a U-Boot extension and we have to modify nand_base.c > that originates in Linux. > > Mark the code with #ifdef __UBOOT__ so we will never accidentally > drop it when we re-sync the NAND framework with Linux in the future. No more "#ifdef __UBOOT__" please. Instead, never again do a "start from scratch" resync the way that the above commit was done. -Scott