[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACxGe6v5edmAcicNSgDaKr2ics5q7fGkh4E4zjeSCOSePrJX+g@mail.gmail.com>
Date: Tue, 6 Mar 2012 16:02:44 -0700
From: Grant Likely <grant.likely@...retlab.ca>
To: mathieu.poirier@...aro.org
Cc: linux@....linux.org.uk, linux-kernel@...r.kernel.org, arnd@...db.de
Subject: Re: [PATCH] ARM: versatile: automatically pick a board in Kconfig
On Tue, Mar 6, 2012 at 3:49 PM, <mathieu.poirier@...aro.org> wrote:
> From: Arnd Bergmann <arnd@...db.de>
>
> The versatile platform supports building any combination of the
> three board types (AB, PB, DT), but at least one of them has
> to be enabled. This adds the necessary Kconfig statement to
> enforce that at least one of the three is selected.
>
> Signed-off-by: Arnd Bergmann <arnd@...db.de>
> Signed-off-by: Mathieu Poirier <mathieu.poirier@...aro.org>
Acked-by: Grant Likely <grant.likely@...retlab.ca>
> ---
> arch/arm/mach-versatile/Kconfig | 6 ++++++
> 1 files changed, 6 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/mach-versatile/Kconfig b/arch/arm/mach-versatile/Kconfig
> index c1f38f6..31da352 100644
> --- a/arch/arm/mach-versatile/Kconfig
> +++ b/arch/arm/mach-versatile/Kconfig
> @@ -25,4 +25,10 @@ config MACH_VERSATILE_DT
> Include support for the ARM(R) Versatile/PB platform,
> using the device tree for discovery
>
> +config MACH_VERSATILE_AUTO
> + def_bool y
> + depends on !ARCH_VERSATILE_PB
> + depends on !MACH_VERSATILE_AB
> + select MACH_VERSATILE_DT
> +
> endmenu
> --
> 1.7.5.4
>
--
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
--
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