ARM: realview: don't select SMP_ON_UP for UP builds
authorArnd Bergmann <arnd@arndb.de>
Thu, 31 Dec 2015 22:51:02 +0000 (23:51 +0100)
committerArnd Bergmann <arnd@arndb.de>
Thu, 31 Dec 2015 22:52:20 +0000 (23:52 +0100)
When CONFIG_SMP is disabled, we get a warning from Kconfig:

warning: (SOC_IMX31 && SOC_IMX35 && SOC_VF610 && REALVIEW_DT) selects SMP_ON_UP which has unmet direct dependencies (SMP && !XIP_KERNEL && MMU)

This changes the REALVIEW_DT Kconfig entry to not select SMP_ON_UP
unless SMP is also set.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/mach-realview/Kconfig

index 9e01e42..def40a0 100644 (file)
@@ -23,7 +23,7 @@ config REALVIEW_DT
        select POWER_RESET
        select POWER_RESET_VERSATILE
        select POWER_SUPPLY
-       select SMP_ON_UP
+       select SMP_ON_UP if SMP
        select SOC_REALVIEW
        select USE_OF
        help