Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965657AbdGTPuR (ORCPT ); Thu, 20 Jul 2017 11:50:17 -0400 Received: from mout.kundenserver.de ([212.227.126.133]:62008 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S936288AbdGTPuO (ORCPT ); Thu, 20 Jul 2017 11:50:14 -0400 From: Arnd Bergmann To: Alexander Sverdlin Cc: Hartley Sweeten , Arnd Bergmann , Linus Walleij , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 02/12] ARM: ep93xx: use ARM_PATCH_PHYS_VIRT Date: Thu, 20 Jul 2017 17:49:27 +0200 Message-Id: <20170720154939.3250697-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 In-Reply-To: <20170720154616.3250481-1-arnd@arndb.de> References: <20170720154616.3250481-1-arnd@arndb.de> X-Provags-ID: V03:K0:rv1UCwKPdU7/HWWac/nU844n1YUsvUnQIFWrwVk/0gdC/qhIRJd 0WnmgIwkejvk0DNLdQakUW+Zkxc9Oih7pNs86p1CIWSJ1p+l66hvmLFwOtz5EzFXowbdltW WR5byUYC81l8i6MiMkTmj+ra45i4Hh714rq/m7HzlKZ2L8Ocutz3n+OHEM6M10gzNLAckEx vVRPunuVRdBNJ1aEvUkAA== X-UI-Out-Filterresults: notjunk:1;V01:K0:t5fNKh5yYQo=:nKSpdMOgCmQQo3b0INtTfg eGX6jY82jZDVepFA6N2LUBM2orSUXoLataIDAOnV3DXtnsElZqY85L/TA7+05vZzrbSfY/89p dT3HfjG2NLx4WSHWcazqqzhftpmIef0mxGFcpCzd0qw7vSLoOJIFurpwArNeIELOaUSXM5E4H +bM4SrzUR/s4CGm38tv+huhQgnX25IR2aNS2g/ss2gKALNd2mexzqAGsKYbrb9I06/AVTIqnX 8D2NS79AOFYVT468KtGlLzqQpDQvqJHup3UJuiguWtWml0hPa258IIoACf4RgPohnC/+pYKbG WWuLlHoBHvpc//d9ehXexV13acnN29uA5rSuvUN6oGM5E1n/vXfBKS3+jwvu8FzTh56azjmcE JDFLBntK/+60u2UI4Wh9pqHq1YcjoICo21XszKy8tTrq4RS4avwN3MZr33N95adv2t+DfjmUo VrLD0A//qlEXSteLIMsPta3BjSG8HX4cCUx7mRP4ECOvFQ7y+7wuTZVrzbu/BnUMmW+FrrUxK MLHyexqVUTM2F+6w5fhyraW7taQIoqWHqLr4e1JgrB+3IxM4I3pkxTRBnEhM/jF9I1ajiYLt6 ncxsAu2FTlIHmwkJvy0Dnnr+Gvv3OuG/5l+YP9XOwAbYoppWAWerdx+1JjSltqqQdikSn6c27 OnfjLD/NeY+CAAfzjdu4Ai7EOBYmaPivXw/Wq+wmy8UK8GJ64xFLulrPgjahyDoZ0vkdQh9wr WpV4nxLDiGh5AnlDDV08S661db+PFMirCxmSFQ== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 764 Lines: 25 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 --- 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