mtd: always build partitioning support

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Tue May 24 21:59:07 EDT 2011


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=5fcb033159bc4f66782f13fa1e7f981f41a951ef
Commit:     5fcb033159bc4f66782f13fa1e7f981f41a951ef
Parent:     d5ca51292d899a19882cb9bf8f64079209e688fe
Author:     Jamie Iles <jamie at jamieiles.com>
AuthorDate: Mon May 23 10:22:42 2011 +0100
Committer:  David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Wed May 25 02:12:09 2011 +0100

    mtd: always build partitioning support
    
    There are very few situations where MTD partitioning is not required,
    and the benefit in code size reduction by making this configurable does
    not warrant the level of ifdeffery needed.
    
    Artem: this patch is not final - we just make sure that mtd partitions
    are always compiled in, and at the end of the series we'll kill
    MTD_PARTITIONS altogether.
    
    Signed-off-by: Jamie Iles <jamie at jamieiles.com>
    Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy at nokia.com>
    Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
 drivers/mtd/Kconfig |   12 ++----------
 1 files changed, 2 insertions(+), 10 deletions(-)

diff --git a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig
index b4567c3..8b61b0c 100644
--- a/drivers/mtd/Kconfig
+++ b/drivers/mtd/Kconfig
@@ -1,6 +1,7 @@
 menuconfig MTD
 	tristate "Memory Technology Device (MTD) support"
 	depends on HAS_IOMEM
+	select MTD_PARTITIONS
 	help
 	  Memory Technology Devices are flash, RAM and similar chips, often
 	  used for solid state file systems on embedded devices. This option
@@ -34,16 +35,7 @@ config MTD_TESTS
 	  various checks and verifications when loaded.
 
 config MTD_PARTITIONS
-	bool "MTD partitioning support"
-	help
-	  If you have a device which needs to divide its flash chip(s) up
-	  into multiple 'partitions', each of which appears to the user as
-	  a separate MTD device, you require this option to be enabled. If
-	  unsure, say 'Y'.
-
-	  Note, however, that you don't need this option for the DiskOnChip
-	  devices. Partitioning on NFTL 'devices' is a different - that's the
-	  'normal' form of partitioning used on a block device.
+	bool
 
 if MTD_PARTITIONS
 



More information about the linux-mtd-cvs mailing list