From patchwork Mon Nov 5 18:13:19 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Will Deacon X-Patchwork-Id: 1699991 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id 67CA7DF2AB for ; Mon, 5 Nov 2012 18:15:41 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TVRAv-0004ZA-E4; Mon, 05 Nov 2012 18:13:29 +0000 Received: from cam-admin0.cambridge.arm.com ([217.140.96.50]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TVRAr-0004XM-U7 for linux-arm-kernel@lists.infradead.org; Mon, 05 Nov 2012 18:13:26 +0000 Received: from mudshark.cambridge.arm.com (mudshark.cambridge.arm.com [10.1.79.58]) by cam-admin0.cambridge.arm.com (8.12.6/8.12.6) with ESMTP id qA5IDLE7013362; Mon, 5 Nov 2012 18:13:21 GMT Date: Mon, 5 Nov 2012 18:13:19 +0000 From: Will Deacon To: Pawel Moll Subject: Re: Building for MMU-less vexpress targets Message-ID: <20121105181319.GB27781@mudshark.cambridge.arm.com> References: <20121105173640.GR3351@mudshark.cambridge.arm.com> <1352138600.10947.26.camel@hornet> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1352138600.10947.26.camel@hornet> User-Agent: Mutt/1.5.21 (2010-09-15) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20121105_131326_208812_AD039885 X-CRM114-Status: GOOD ( 14.79 ) X-Spam-Score: -7.6 (-------) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-7.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high trust [217.140.96.50 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.7 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: "arnd@arndb.de" , "linux-arm-kernel@lists.infradead.org" X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org On Mon, Nov 05, 2012 at 06:03:20PM +0000, Pawel Moll wrote: > On Mon, 2012-11-05 at 17:36 +0000, Will Deacon wrote: > > I'm inclined to add a dummy VEXPRESS entry to arm/Kconfig which depends on > > !ARCH_MULTIPLATFORM and just selects ARCH_VEXPRESS (with the if ARCH_MULTI_V7 > > dependency dropped) > > ... depends on !ARCH_MULTIPLATFORM or maybe rather !MMU? (I assume you > want to add an extra dummy position in the choice section, where options > are mutually exclusive anyway?) Yeah, you could do something like the following but it just feels a bit nasty: Will --->8 diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 335e220..0561d87 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -305,6 +305,11 @@ config ARCH_REALVIEW help This enables support for ARM Ltd RealView boards. +config ARCH_VEXPRESS_NOMMU + bool "ARM Ltd. Versatile Express family (nommu)" + depends on !MMU + select ARCH_VEXPRESS + config ARCH_VERSATILE bool "ARM Ltd. Versatile family" select ARCH_WANT_OPTIONAL_GPIOLIB