[PATCH 08/18] fsmc/nand: Add support for default partitions for several NAND devices
Stefan Roese
sr at denx.de
Tue Mar 13 08:49:14 EDT 2012
On Tuesday 13 March 2012 12:56:47 Linus Walleij wrote:
> On Tue, Mar 13, 2012 at 10:53 AM, Armando Visconti
>
> <armando.visconti at st.com> wrote:
> > Actually I checked better and I can say that:
> >
> > 1. We do have the provision to pass the partitions thru pdata and
> > cmdline
> > 2. Nevertheless, we are not passing partitions thru pdata in none
> > of our platforms.
> >
> > I think we need to change this and pass partitions thru pdata.
>
> This would be cleaner, actually I am using the same driver on the
> U300 (also for Nomadik the day I find some time to adopt it)
> and I get the default partitions from some SPEAr platform
> currently, I think I should rather get some warning message from
> the driver or MTD core like "you haven't defined any partitions".
I have a patch in my queue to add device-tree support to the FSMC driver. This
will also add parsing partition via DT. As SPEAr currently doesn't support
this driver in mainline, I suggest not to add pdata support to those SPEAr
platforms, but move to DT directly.
Thanks,
Stefan
More information about the linux-mtd
mailing list