MTD: Relax dependencies
authorRichard Weinberger <richard@nod.at>
Tue, 7 Feb 2012 00:22:50 +0000 (01:22 +0100)
committerRichard Weinberger <richard@nod.at>
Sat, 24 Mar 2012 23:29:56 +0000 (00:29 +0100)
CONFIG_GENERIC_IO is just enough for the basic MTD stuff.

Signed-off-by: Richard Weinberger <richard@nod.at>
Acked-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
drivers/mtd/Kconfig
drivers/mtd/devices/Kconfig
drivers/mtd/maps/Kconfig
drivers/mtd/nand/Kconfig
drivers/mtd/onenand/Kconfig

index 1be621841400f9c2221f433e0f5b13e02619cc40..284cf3433720fe07233ce5c380e3668999d4b94e 100644 (file)
@@ -1,6 +1,6 @@
 menuconfig MTD
        tristate "Memory Technology Device (MTD) support"
 menuconfig MTD
        tristate "Memory Technology Device (MTD) support"
-       depends on HAS_IOMEM
+       depends on GENERIC_IO
        help
          Memory Technology Devices are flash, RAM and similar chips, often
          used for solid state file systems on embedded devices. This option
        help
          Memory Technology Devices are flash, RAM and similar chips, often
          used for solid state file systems on embedded devices. This option
index 37b05c3f2792a2bbc73521c52f4e69f8b45991cb..8d3dac40d7e6e17411936a34a6e50b226ad78667 100644 (file)
@@ -1,5 +1,6 @@
 menu "Self-contained MTD device drivers"
        depends on MTD!=n
 menu "Self-contained MTD device drivers"
        depends on MTD!=n
+       depends on HAS_IOMEM
 
 config MTD_PMC551
        tristate "Ramix PMC551 PCI Mezzanine RAM card support"
 
 config MTD_PMC551
        tristate "Ramix PMC551 PCI Mezzanine RAM card support"
index 6c5c431c64af3ed6fbf97d1bb763049bf119872b..8af67cfd671acac48ad7885a6e73ebe2f0ecdbff 100644 (file)
@@ -1,5 +1,6 @@
 menu "Mapping drivers for chip access"
        depends on MTD!=n
 menu "Mapping drivers for chip access"
        depends on MTD!=n
+       depends on HAS_IOMEM
 
 config MTD_COMPLEX_MAPPINGS
        bool "Support non-linear mappings of flash chips"
 
 config MTD_COMPLEX_MAPPINGS
        bool "Support non-linear mappings of flash chips"
index 31b034b7eba3bd5e464c1ba3042a7da9625c2cad..80de7b3d6a6f40544e230d7c894366387a66ab2c 100644 (file)
@@ -246,6 +246,7 @@ config MTD_NAND_BCM_UMI_HWCS
 config MTD_NAND_DISKONCHIP
        tristate "DiskOnChip 2000, Millennium and Millennium Plus (NAND reimplementation) (EXPERIMENTAL)"
        depends on EXPERIMENTAL
 config MTD_NAND_DISKONCHIP
        tristate "DiskOnChip 2000, Millennium and Millennium Plus (NAND reimplementation) (EXPERIMENTAL)"
        depends on EXPERIMENTAL
+       depends on HAS_IOMEM
        select REED_SOLOMON
        select REED_SOLOMON_DEC16
        help
        select REED_SOLOMON
        select REED_SOLOMON_DEC16
        help
@@ -431,6 +432,7 @@ config MTD_NAND_GPMI_NAND
 
 config MTD_NAND_PLATFORM
        tristate "Support for generic platform NAND driver"
 
 config MTD_NAND_PLATFORM
        tristate "Support for generic platform NAND driver"
+       depends on HAS_IOMEM
        help
          This implements a generic NAND driver for on-SOC platform
          devices. You will need to provide platform-specific functions
        help
          This implements a generic NAND driver for on-SOC platform
          devices. You will need to provide platform-specific functions
index 772ad2966619ed56053a07b6e9329556edafe245..91467bb036341fe52f84a5db00c7664365d0abb9 100644 (file)
@@ -1,6 +1,7 @@
 menuconfig MTD_ONENAND
        tristate "OneNAND Device Support"
        depends on MTD
 menuconfig MTD_ONENAND
        tristate "OneNAND Device Support"
        depends on MTD
+       depends on HAS_IOMEM
        help
          This enables support for accessing all type of OneNAND flash
          devices. For further information see
        help
          This enables support for accessing all type of OneNAND flash
          devices. For further information see