ARM: integrator: move CONFIG_ARCH_CINTEGRATOR to Kconfig
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 21 Apr 2015 12:59:39 +0000 (21:59 +0900)
committerTom Rini <trini@konsulko.com>
Thu, 23 Apr 2015 12:52:27 +0000 (08:52 -0400)
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-integrator/Kconfig
include/configs/integratorcp.h

index 6794660..8ffc544 100644 (file)
@@ -9,9 +9,13 @@ config ARCH_INTEGRATOR_AP
 
 config ARCH_INTEGRATOR_CP
        bool "Support Integrator/CP platform"
+       select ARCH_CINTEGRATOR
 
 endchoice
 
+config ARCH_CINTEGRATOR
+       bool
+
 choice
        prompt "Integrator core module select"
 
index 7c1ef24..7518b60 100644 (file)
@@ -18,7 +18,6 @@
 #include "integrator-common.h"
 
 /* Integrator CP-specific configuration */
-#define CONFIG_ARCH_CINTEGRATOR
 #define CONFIG_SYS_HZ_CLOCK            1000000 /* Timer 1 is clocked at 1Mhz */
 
 /*