浏览代码

[MTD] Make XIP support depend on CONFIG_ARM

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>
Thomas Gleixner 20 年之前
父节点
当前提交
1ca70351af
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/mtd/chips/Kconfig

+ 1 - 1
drivers/mtd/chips/Kconfig

@@ -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