Bläddra i källkod

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>
Arnd Bergmann 11 år sedan
förälder
incheckning
cd5bad4135
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      arch/arm/Kconfig

+ 1 - 1
arch/arm/Kconfig

@@ -380,7 +380,7 @@ config ARCH_EP93XX
 	bool "EP93xx-based"
 	bool "EP93xx-based"
 	select ARCH_HAS_HOLES_MEMORYMODEL
 	select ARCH_HAS_HOLES_MEMORYMODEL
 	select ARM_AMBA
 	select ARM_AMBA
-	select ARM_PATCH_PHYS_VIRT
+	imply ARM_PATCH_PHYS_VIRT
 	select ARM_VIC
 	select ARM_VIC
 	select AUTO_ZRELADDR
 	select AUTO_ZRELADDR
 	select CLKDEV_LOOKUP
 	select CLKDEV_LOOKUP