From: Thomas Gleixner Date: Tue, 12 Jul 2005 15:51:06 +0000 (+0200) Subject: [MTD] Make XIP support depend on CONFIG_ARM X-Git-Tag: v2.6.16.28-rc1~5376^2~8 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=1ca70351af02b1f0eb9cd2e7eb7a547f8ad5d893;p=karo-tx-linux.git [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 --- diff --git a/drivers/mtd/chips/Kconfig b/drivers/mtd/chips/Kconfig index b5dc59389bb3..df95d2158b16 100644 --- a/drivers/mtd/chips/Kconfig +++ b/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