From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751782AbbCJJC2 (ORCPT ); Tue, 10 Mar 2015 05:02:28 -0400 Received: from mout.kundenserver.de ([212.227.17.10]:50538 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750882AbbCJJCY (ORCPT ); Tue, 10 Mar 2015 05:02:24 -0400 From: Arnd Bergmann To: linux-arm-kernel@lists.infradead.org Cc: Brian Norris , Andrew Victor , Nicolas Ferre , linux-kernel@vger.kernel.org, Jean-Christophe Plagniol-Villard , alexandre.belloni@free-electrons.com Subject: Re: [PATCH] ARM: at91: force CPU selection Date: Tue, 10 Mar 2015 10:02:15 +0100 Message-ID: <2216832.iXiqHye8YX@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: <1425970798-14015-1-git-send-email-computersforpeace@gmail.com> References: <1425970798-14015-1-git-send-email-computersforpeace@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:qaSTppmTku+utOh7uvZsHKeVM7uSoc6kpJXjwk+2rEjw0qNHIg3 BuPtI9/+JxWITiLIre+r0HwepPAU5ysOsHvqF1nMtD4M8uPmU60l2nddae+PehRN9ujOQTK E72QMUzGx+HDA+DtNoJN+1SxC+HwFxJ2FlrOkcLVixgWGeXwEuyBGeLTOvGPoEZfIfF2GXH wcVJPjTuheR0WMRowIcaA== X-UI-Out-Filterresults: notjunk:1; Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Monday 09 March 2015 23:59:58 Brian Norris wrote: > @@ -114,6 +114,12 @@ config SOC_AT91SAM9 > AT91SAM9XE > endif # SOC_SAM_V4_V5 > > +config MACH_AT91_AUTO > + def_bool y > + depends on !SOC_AT91SAM9 && !SOC_SAMA5D4 > + select SOC_SAMA5D3 if SOC_SAM_V7 > + select SOC_AT91RM9200 if SOC_SAM_V4_V5 > + > comment "AT91 Feature Selections" > > config AT91_SLOW_CLOCK Hi Brian, I actually added a bunch of these in other places, but have stopped doing so because Russell didn't like them, and I tend to follow his argument now that it's actually pretty confusing. In case of at91, we can do better now, once we have multiplatform enabled, and we can simply remove the SOC_SAM_V7 and SOC_SAM_V4_V5 symbols entirely (if Alexandre's patch doesn't already do that). With multiplatform enabled, you no longer have to select a particular SoC, because we always get the default selection and the kernel will build without any one of them being enabled. Arnd