[PATCH] MTD: enable partition parser in the default list when selected

Florian Fainelli florian at openwrt.org
Mon Jun 22 08:56:07 EDT 2009


Le Monday 22 June 2009 14:33:22 Mike Frysinger, vous avez écrit :
> On Mon, Jun 22, 2009 at 05:27, Florian Fainelli wrote:
> >  #ifdef CONFIG_MTD_PARTITIONS
> > -static const char *part_probe_types[] = { "cmdlinepart", "RedBoot", NULL
> > }; +static const char *part_probe_types[] = {
> > +#ifdef CONFIG_MTD_CMDLINE_PARTS
> > +       "cmdlinepart",
> > +#elif defined CONFIG_MTD_REDBOOT_PARTS
> > +       "RedBoot",
> > +#elif defined CONFIG_MTD_AR7_PARTS
> > +       "ar7part",
> > +#endif
> > +       NULL
> > +};
> >  #endif
>
> you just broke systems that have both cmdline and redboot enabled
> -mike

Right, let me respin that one.
-- 
Best regards, Florian Fainelli
Email : florian at openwrt.org
http://openwrt.org
-------------------------------



More information about the linux-mtd mailing list