ARM: ep93xx: use ARM_PATCH_PHYS_VIRT correctly
authorArnd Bergmann <arnd@arndb.de>
Tue, 25 Mar 2014 23:17:09 +0000 (00:17 +0100)
committerArnd Bergmann <arnd@arndb.de>
Thu, 27 Jul 2017 20:57:51 +0000 (22:57 +0200)
commitcd5bad4135e8e72144a19429d359c36fd4172a88
tree5cb724d65fde203fca76159ff4717e296dac1ef5
parent1c1953f351263bdc0857326bde7ff95a43700b6c
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>
arch/arm/Kconfig