[lkml]   [2012]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    Subject[PATCH] ARM: versatile: automatically pick a board in Kconfig
    From: Arnd Bergmann <>

    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 <>
    Signed-off-by: Mathieu Poirier <>
    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

    + def_bool y
    + depends on !ARCH_VERSATILE_PB
    + depends on !MACH_VERSATILE_AB
    + select MACH_VERSATILE_DT

     \ /
      Last update: 2012-03-06 23:51    [W:0.020 / U:29.308 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site