Browse Source

ARM: keystone requires ARM_PATCH_PHYS_VIRT

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>
Arnd Bergmann 11 năm trước cách đây
mục cha
commit
13ee895547
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      arch/arm/mach-keystone/Kconfig

+ 1 - 0
arch/arm/mach-keystone/Kconfig

@@ -1,6 +1,7 @@
 config ARCH_KEYSTONE
 config ARCH_KEYSTONE
 	bool "Texas Instruments Keystone Devices"
 	bool "Texas Instruments Keystone Devices"
 	depends on ARCH_MULTI_V7
 	depends on ARCH_MULTI_V7
+	depends on ARM_PATCH_PHYS_VIRT
 	select ARM_GIC
 	select ARM_GIC
 	select HAVE_ARM_ARCH_TIMER
 	select HAVE_ARM_ARCH_TIMER
 	select CLKSRC_MMIO
 	select CLKSRC_MMIO