[MTD] Make XIP support depend on CONFIG_ARM
authorThomas Gleixner <tglx@tglx.tec.linutronix.de>
Tue, 12 Jul 2005 15:51:06 +0000 (17:51 +0200)
committerThomas Gleixner <tglx@mtd.linutronix.de>
Tue, 12 Jul 2005 15:51:06 +0000 (17:51 +0200)
ARM is the only known user of this at the moment.
Prevent allyes builds for other archs from failing

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/mtd/chips/Kconfig

index b5dc593..df95d21 100644 (file)
@@ -300,7 +300,7 @@ config MTD_JEDEC
 
 config MTD_XIP
        bool "XIP aware MTD support"
-       depends on !SMP && (MTD_CFI_INTELEXT || MTD_CFI_AMDSTD) && EXPERIMENTAL
+       depends on !SMP && (MTD_CFI_INTELEXT || MTD_CFI_AMDSTD) && EXPERIMENTAL && ARM
        default y if XIP_KERNEL
        help
          This allows MTD support to work with flash memory which is also