mtd: Fix MTD_OF_PARTS for all arch and minor tidy of MTD_PARTITIONS
authorGrant Likely <grant.likely@secretlab.ca>
Sat, 30 Oct 2010 06:35:02 +0000 (07:35 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 3 Dec 2010 16:25:56 +0000 (16:25 +0000)
commitb7b6e08f9265db56129931983fc6c06d62c9f4f9
treea5dc808321b6d06be5c5116dfe1da13653b9d90a
parent3345cc4f6d779753810c7f13aab6b29417869548
mtd: Fix MTD_OF_PARTS for all arch and minor tidy of MTD_PARTITIONS

MTD_OF_PARTS should be possible on all architectures, not just
powerpc and microblaze, and it probably should not be a user
selectable option.  Neither does it need to be in a separate module.

Also, rework MTD Kconfig to group options dependant on MTD_PARTITIONS
into a if/endif block.  Do the same for MTD_REDBOOT_PARTS.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/Kconfig
drivers/mtd/Makefile