Commit 15c0be7b authored by Richard Weinberger's avatar Richard Weinberger Committed by Brian Norris

mtd: Fix dependencies for !HAS_IOMEM archs

Not every arch has io memory.
So, unbreak the build by fixing the dependencies.
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
Acked-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
parent 420b4629
...@@ -74,6 +74,7 @@ config MTD_NAND_DENALI_SCRATCH_REG_ADDR ...@@ -74,6 +74,7 @@ config MTD_NAND_DENALI_SCRATCH_REG_ADDR
config MTD_NAND_GPIO config MTD_NAND_GPIO
tristate "GPIO assisted NAND Flash driver" tristate "GPIO assisted NAND Flash driver"
depends on GPIOLIB || COMPILE_TEST depends on GPIOLIB || COMPILE_TEST
depends on HAS_IOMEM
help help
This enables a NAND flash driver where control signals are This enables a NAND flash driver where control signals are
connected to GPIO pins, and commands and data are communicated connected to GPIO pins, and commands and data are communicated
...@@ -463,6 +464,7 @@ config MTD_NAND_MPC5121_NFC ...@@ -463,6 +464,7 @@ config MTD_NAND_MPC5121_NFC
config MTD_NAND_VF610_NFC config MTD_NAND_VF610_NFC
tristate "Support for Freescale NFC for VF610/MPC5125" tristate "Support for Freescale NFC for VF610/MPC5125"
depends on (SOC_VF610 || COMPILE_TEST) depends on (SOC_VF610 || COMPILE_TEST)
depends on HAS_IOMEM
help help
Enables support for NAND Flash Controller on some Freescale Enables support for NAND Flash Controller on some Freescale
processors like the VF610, MPC5125, MCF54418 or Kinetis K70. processors like the VF610, MPC5125, MCF54418 or Kinetis K70.
......
...@@ -9,6 +9,7 @@ if MTD_SPI_NOR ...@@ -9,6 +9,7 @@ if MTD_SPI_NOR
config MTD_MT81xx_NOR config MTD_MT81xx_NOR
tristate "Mediatek MT81xx SPI NOR flash controller" tristate "Mediatek MT81xx SPI NOR flash controller"
depends on HAS_IOMEM
help help
This enables access to SPI NOR flash, using MT81xx SPI NOR flash This enables access to SPI NOR flash, using MT81xx SPI NOR flash
controller. This controller does not support generic SPI BUS, it only controller. This controller does not support generic SPI BUS, it only
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment