ARM: keystone requires ARM_PATCH_PHYS_VIRT
authorArnd Bergmann <arnd@arndb.de>
Mon, 12 May 2014 12:42:34 +0000 (14:42 +0200)
committerArnd Bergmann <arnd@arndb.de>
Tue, 17 Jun 2014 15:09:22 +0000 (17:09 +0200)
The dynamic relocation that the keystone platform performs
only works if we can pick the phys offset at boot time. It's
possible that there is another solution for this, but this
is the easiest workaround. Kernels with ARM_PATCH_PHYS_VIRT
are not portable across platforms, and I see no reason why
anyone would run a kernel without ARM_PATCH_PHYS_VIRT on
keystone.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
arch/arm/mach-keystone/Kconfig

index f50bc93..98a156a 100644 (file)
@@ -1,6 +1,7 @@
 config ARCH_KEYSTONE
        bool "Texas Instruments Keystone Devices"
        depends on ARCH_MULTI_V7
+       depends on ARM_PATCH_PHYS_VIRT
        select ARM_GIC
        select HAVE_ARM_ARCH_TIMER
        select CLKSRC_MMIO