[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120323172845.GC9859@atomide.com>
Date: Fri, 23 Mar 2012 10:28:45 -0700
From: Tony Lindgren <tony@...mide.com>
To: mathieu.poirier@...aro.org
Cc: linux-omap@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, arnd@...db.de
Subject: Re: [PATCH 7/9] omap2plus: ensure that one of omap2/3/4 is selected
* mathieu.poirier@...aro.org <mathieu.poirier@...aro.org> [120323 10:16]:
> From: Arnd Bergmann <arnd@...db.de>
>
> Random configurations can fail if none of the omap families
> in mach-omap2 is selected. This patch automatically selects
> omap2 if the user has not made any other choice.
>
> Signed-off-by: Arnd Bergmann <arnd@...db.de>
> Signed-off-by: Mathieu Poirier <mathieu.poirier@...aro.org>
> Acked-by: Santosh Shilimkar <santosh.shilimkar@...com>
> Acked-by: Tony Lindgren <tony@...mide.com>
> ---
> arch/arm/mach-omap2/Kconfig | 10 ++++++++++
> 1 files changed, 10 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig
> index 0279e9e..b244e80 100644
> --- a/arch/arm/mach-omap2/Kconfig
> +++ b/arch/arm/mach-omap2/Kconfig
> @@ -55,6 +55,16 @@ config ARCH_OMAP4
> select USB_ARCH_HAS_EHCI
> select ARM_CPU_SUSPEND if PM
>
> +config ARCH_OMAP2_AUTO
> + bool
> + depends on !ARCH_OMAP3 && !ARCH_OMAP4
> + select ARCH_OMAP2
> + default y
> + help
> + At least one of OMAP2/OMAP3/OMAP4 needs to be enabled, this
> + selects OMAP2 if nothing else gets selected, to avoid non-building
> + configurations.
> +
> comment "OMAP Core Type"
> depends on ARCH_OMAP2
Hmm yeah omap2 makes the smallest build, so randconfig builds
faster than it would for omap3 or 4.
But isn't there now still a chance that randconfig does not
select ARCH_OMAP2_AUTO either?
Regards,
Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists