[U-Boot] [PATCH] mtd: nand: revive "nand scrub" command

Marek Vasut marex at denx.de
Thu Dec 11 22:37:33 CET 2014


On Thursday, December 11, 2014 at 09:37:10 PM, Scott Wood wrote:
> 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.

Do you happen to have a helpful suggestion how to clearly mark those bits of 
code then please ?

> Instead, never again do a "start
> from scratch" resync the way that the above commit was done.

This was already discussed, no need to revive this topic here now.

Best regards,
Marek Vasut


More information about the U-Boot mailing list