Removing CONFIG_MTD_PARTITIONS
Artem Bityutskiy
dedekind1 at gmail.com
Thu May 12 07:55:27 EDT 2011
On Mon, 2011-05-09 at 10:56 +0100, Jamie Iles wrote:
> I've had a quick look at removing CONFIG_MTD_PARTITIONS so that MTD
> partitioning is always enabled and the patch below is what I have so
> far.
Thanks!
> At the moment this just always builds in partitioning support and
> introduces mtd_device_{,un}register() (I'm not sure if these are the
> best names). These effectively replace
> add_mtd_device()/add_mtd_partitions() and their deletion counterparts
> and will register partitions if supplied, or the whole device if there
> are no partitions. I've also converted over a couple of mtd drivers,
> and will do them all if this is the correct approach.
>
> I've left CONFIG_MTD_PARTITIONS as a bool with no description to keep
> the series bisectable - the final patch would remove it completely and
> make add_mtd_device and add_mtd_partitions internal only symbols. Does
> this seem like a reasonable strategy?
Looks like. Could you please split this patch on a series of small and
easily reviewable patches?
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
More information about the linux-mtd
mailing list