mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-06 00:39:48 +00:00
[PATCH] arm: fix dependencies for MTD_XIP
MTD_XIP depends on having working asm/mtd-xip.h; it's not just per-architecture (arm-only, as current Kconfig would have it), but actually per-subarch as well. Introduced a new symbol (ARCH_MTD_XIP) set by arch Kconfig; MTD_XIP depends on it. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
746f956beb
commit
034d2f5af1
2 changed files with 6 additions and 1 deletions
|
@ -69,6 +69,9 @@ config GENERIC_ISA_DMA
|
||||||
config FIQ
|
config FIQ
|
||||||
bool
|
bool
|
||||||
|
|
||||||
|
config ARCH_MTD_XIP
|
||||||
|
bool
|
||||||
|
|
||||||
source "init/Kconfig"
|
source "init/Kconfig"
|
||||||
|
|
||||||
menu "System Type"
|
menu "System Type"
|
||||||
|
@ -136,6 +139,7 @@ config ARCH_L7200
|
||||||
|
|
||||||
config ARCH_PXA
|
config ARCH_PXA
|
||||||
bool "PXA2xx-based"
|
bool "PXA2xx-based"
|
||||||
|
select ARCH_MTD_XIP
|
||||||
|
|
||||||
config ARCH_RPC
|
config ARCH_RPC
|
||||||
bool "RiscPC"
|
bool "RiscPC"
|
||||||
|
@ -152,6 +156,7 @@ config ARCH_SA1100
|
||||||
bool "SA1100-based"
|
bool "SA1100-based"
|
||||||
select ISA
|
select ISA
|
||||||
select ARCH_DISCONTIGMEM_ENABLE
|
select ARCH_DISCONTIGMEM_ENABLE
|
||||||
|
select ARCH_MTD_XIP
|
||||||
|
|
||||||
config ARCH_S3C2410
|
config ARCH_S3C2410
|
||||||
bool "Samsung S3C2410"
|
bool "Samsung S3C2410"
|
||||||
|
|
|
@ -301,7 +301,7 @@ config MTD_JEDEC
|
||||||
|
|
||||||
config MTD_XIP
|
config MTD_XIP
|
||||||
bool "XIP aware MTD support"
|
bool "XIP aware MTD support"
|
||||||
depends on !SMP && (MTD_CFI_INTELEXT || MTD_CFI_AMDSTD) && EXPERIMENTAL && ARM
|
depends on !SMP && (MTD_CFI_INTELEXT || MTD_CFI_AMDSTD) && EXPERIMENTAL && ARCH_MTD_XIP
|
||||||
default y if XIP_KERNEL
|
default y if XIP_KERNEL
|
||||||
help
|
help
|
||||||
This allows MTD support to work with flash memory which is also
|
This allows MTD support to work with flash memory which is also
|
||||||
|
|
Loading…
Reference in a new issue