Selaa lähdekoodia

MTD: Relax dependencies

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>
Richard Weinberger 14 vuotta sitten
vanhempi
commit
9310da0bbb

+ 1 - 1
drivers/mtd/Kconfig

@@ -1,6 +1,6 @@
 menuconfig MTD
 menuconfig MTD
 	tristate "Memory Technology Device (MTD) support"
 	tristate "Memory Technology Device (MTD) support"
-	depends on HAS_IOMEM
+	depends on GENERIC_IO
 	help
 	help
 	  Memory Technology Devices are flash, RAM and similar chips, often
 	  Memory Technology Devices are flash, RAM and similar chips, often
 	  used for solid state file systems on embedded devices. This option
 	  used for solid state file systems on embedded devices. This option

+ 1 - 0
drivers/mtd/devices/Kconfig

@@ -1,5 +1,6 @@
 menu "Self-contained MTD device drivers"
 menu "Self-contained MTD device drivers"
 	depends on MTD!=n
 	depends on MTD!=n
+	depends on HAS_IOMEM
 
 
 config MTD_PMC551
 config MTD_PMC551
 	tristate "Ramix PMC551 PCI Mezzanine RAM card support"
 	tristate "Ramix PMC551 PCI Mezzanine RAM card support"

+ 1 - 0
drivers/mtd/maps/Kconfig

@@ -1,5 +1,6 @@
 menu "Mapping drivers for chip access"
 menu "Mapping drivers for chip access"
 	depends on MTD!=n
 	depends on MTD!=n
+	depends on HAS_IOMEM
 
 
 config MTD_COMPLEX_MAPPINGS
 config MTD_COMPLEX_MAPPINGS
 	bool "Support non-linear mappings of flash chips"
 	bool "Support non-linear mappings of flash chips"

+ 2 - 0
drivers/mtd/nand/Kconfig

@@ -246,6 +246,7 @@ config MTD_NAND_BCM_UMI_HWCS
 config MTD_NAND_DISKONCHIP
 config MTD_NAND_DISKONCHIP
 	tristate "DiskOnChip 2000, Millennium and Millennium Plus (NAND reimplementation) (EXPERIMENTAL)"
 	tristate "DiskOnChip 2000, Millennium and Millennium Plus (NAND reimplementation) (EXPERIMENTAL)"
 	depends on EXPERIMENTAL
 	depends on EXPERIMENTAL
+	depends on HAS_IOMEM
 	select REED_SOLOMON
 	select REED_SOLOMON
 	select REED_SOLOMON_DEC16
 	select REED_SOLOMON_DEC16
 	help
 	help
@@ -431,6 +432,7 @@ config MTD_NAND_GPMI_NAND
 
 
 config MTD_NAND_PLATFORM
 config MTD_NAND_PLATFORM
 	tristate "Support for generic platform NAND driver"
 	tristate "Support for generic platform NAND driver"
+	depends on HAS_IOMEM
 	help
 	help
 	  This implements a generic NAND driver for on-SOC platform
 	  This implements a generic NAND driver for on-SOC platform
 	  devices. You will need to provide platform-specific functions
 	  devices. You will need to provide platform-specific functions

+ 1 - 0
drivers/mtd/onenand/Kconfig

@@ -1,6 +1,7 @@
 menuconfig MTD_ONENAND
 menuconfig MTD_ONENAND
 	tristate "OneNAND Device Support"
 	tristate "OneNAND Device Support"
 	depends on MTD
 	depends on MTD
+	depends on HAS_IOMEM
 	help
 	help
 	  This enables support for accessing all type of OneNAND flash
 	  This enables support for accessing all type of OneNAND flash
 	  devices. For further information see
 	  devices. For further information see