[PATCH v2 1/1] MTD OneNAND OMAP2/3: allow giving partition layout as module parameter
Artem Bityutskiy
dedekind1 at gmail.com
Wed Nov 11 03:04:29 EST 2009
On Tue, 2009-11-10 at 10:22 +0200, Mika Korhonen wrote:
> Add module parameter "parts" to omap2-onenand driver. Parameter format is
> the same as for cmdlinepart except mtd-id must not be specified - it
> gets prepended by the driver, i.e.: parts=<partdef>[,<partdef>]*
>
> This allows one to repartition the OneNAND chip and is useful for flashing
> applications that do the partitioning from scratch or want to backup and
> update the partitioning.
>
> Signed-off-by: Mika Korhonen <ext-mika.2.korhonen at nokia.com>
Re-partitioning should really be an /dev/mtd0 ioctl, not a driver module
parameter. The partitioning in the mtd subsystem is bad, and needs some
re-work as well.
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
More information about the linux-mtd
mailing list