[U-Boot] [PATCH] mtd: nand: Allow caller to pass alternative ID table to nand_scan_ident()

Scott Wood scottwood at freescale.com
Mon Jan 3 19:38:20 CET 2011


On Mon, 3 Jan 2011 10:35:45 -0500
Mike Frysinger <vapier at gentoo.org> wrote:

> On Mon, Jan 3, 2011 at 10:06 AM, Lei Wen <leiwen at marvell.com> wrote:
> > This patch sync with newest mtd code in Linux on handling
> > nand_scan_ident.
> 
> is there any point to the sync ?  doesnt seem like anyone is using the
> new option.

Even if Lei didn't need this for an upcoming driver, I see value
in keeping in sync unless we have a good reason to deviate.  It
makes it easier to share drivers and bring over new features that we
*do* want to use.

> > --- a/drivers/mtd/nand/nand_ids.c
> > +++ b/drivers/mtd/nand/nand_ids.c
> > -const struct nand_flash_dev nand_flash_ids[] = {
> > +struct nand_flash_dev nand_flash_ids[] = {
> 
> this is wrong

I agree.

-Scott



More information about the U-Boot mailing list