aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorJamie Iles <jamie@jamieiles.com>2011-05-23 05:22:42 -0400
committerDavid Woodhouse <David.Woodhouse@intel.com>2011-05-24 21:12:09 -0400
commit5fcb033159bc4f66782f13fa1e7f981f41a951ef (patch)
tree95b5ad0b2fc4beb96ceeb10e8b5eb6313a891233 /drivers/mtd
parentd5ca51292d899a19882cb9bf8f64079209e688fe (diff)
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@jamieiles.com> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/Kconfig12
1 files changed, 2 insertions, 10 deletions
diff --git a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig
index b4567c35a322..8b61b0cc7b45 100644
--- a/drivers/mtd/Kconfig
+++ b/drivers/mtd/Kconfig
@@ -1,6 +1,7 @@
1menuconfig MTD 1menuconfig MTD
2 tristate "Memory Technology Device (MTD) support" 2 tristate "Memory Technology Device (MTD) support"
3 depends on HAS_IOMEM 3 depends on HAS_IOMEM
4 select MTD_PARTITIONS
4 help 5 help
5 Memory Technology Devices are flash, RAM and similar chips, often 6 Memory Technology Devices are flash, RAM and similar chips, often
6 used for solid state file systems on embedded devices. This option 7 used for solid state file systems on embedded devices. This option
@@ -34,16 +35,7 @@ config MTD_TESTS
34 various checks and verifications when loaded. 35 various checks and verifications when loaded.
35 36
36config MTD_PARTITIONS 37config MTD_PARTITIONS
37 bool "MTD partitioning support" 38 bool
38 help
39 If you have a device which needs to divide its flash chip(s) up
40 into multiple 'partitions', each of which appears to the user as
41 a separate MTD device, you require this option to be enabled. If
42 unsure, say 'Y'.
43
44 Note, however, that you don't need this option for the DiskOnChip
45 devices. Partitioning on NFTL 'devices' is a different - that's the
46 'normal' form of partitioning used on a block device.
47 39
48if MTD_PARTITIONS 40if MTD_PARTITIONS
49 41