diff options
author | Arnd Bergmann <arnd@arndb.de> | 2014-03-26 00:17:09 +0100 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2017-07-27 22:57:51 +0200 |
commit | cd5bad4135e8e72144a19429d359c36fd4172a88 (patch) | |
tree | 5cb724d65fde203fca76159ff4717e296dac1ef5 | |
parent | 1c1953f351263bdc0857326bde7ff95a43700b6c (diff) | |
download | linux-stable-cd5bad4135e8e72144a19429d359c36fd4172a88.tar.gz linux-stable-cd5bad4135e8e72144a19429d359c36fd4172a88.tar.bz2 linux-stable-cd5bad4135e8e72144a19429d359c36fd4172a88.zip |
ARM: ep93xx: use ARM_PATCH_PHYS_VIRT correctly
Just like ARCH_MULTIPLATFORM, we want to use ARM_PATCH_PHYS_VIRT
when possible, but that fails for NOMMU or XIP_KERNEL configurations.
Using 'imply' instead of 'select' gets this right and only uses
the symbol when we don't have to hardcode the address anyway.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>
-rw-r--r-- | arch/arm/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index a208bfe367b5..61a0cb15067e 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -380,7 +380,7 @@ config ARCH_EP93XX bool "EP93xx-based" select ARCH_HAS_HOLES_MEMORYMODEL select ARM_AMBA - select ARM_PATCH_PHYS_VIRT + imply ARM_PATCH_PHYS_VIRT select ARM_VIC select AUTO_ZRELADDR select CLKDEV_LOOKUP |