From: Thomas Gleixner Date: Tue, 12 Jul 2005 15:51:06 +0000 (+0200) Subject: [MTD] Make XIP support depend on CONFIG_ARM X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1ca70351af02b1f0eb9cd2e7eb7a547f8ad5d893;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.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 b5dc59389bb..df95d2158b1 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