Re: [PATCH 02/12] ARM: ep93xx: use ARM_PATCH_PHYS_VIRT

From: Alexander Sverdlin
Date: Thu Jul 20 2017 - 12:07:16 EST


On Thu Jul 20 17:49:27 2017 Arnd Bergmann <arnd@xxxxxxxx> wrote:
> 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@xxxxxxxx>

Acked-by: Alexander Sverdlin <alexander.sverdlin@xxxxxxxxx>

> ---
>Â arch/arm/Kconfig | 2 +-
>Â 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index d6e6f40addf6..db856355bd24 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -406,7 +406,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
> --
> 2.9.0
>