ARM: UniPhier: move CONFIG_UNIPHIER_SMP to Kconfig
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Fri, 5 Dec 2014 15:03:20 +0000 (00:03 +0900)
committerMasahiro Yamada <yamada.m@jp.panasonic.com>
Sun, 7 Dec 2014 16:25:44 +0000 (01:25 +0900)
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
arch/arm/cpu/armv7/uniphier/Kconfig
include/configs/ph1_pro4.h

index 36b7f11..31a03d9 100644 (file)
@@ -9,11 +9,15 @@ config SYS_CONFIG_NAME
        default "ph1_ld4" if MACH_PH1_LD4
        default "ph1_sld8" if MACH_PH1_SLD8
 
+config UNIPHIER_SMP
+       bool
+
 choice
        prompt "UniPhier SoC select"
 
 config MACH_PH1_PRO4
        bool "PH1-Pro4"
+       select UNIPHIER_SMP
 
 config MACH_PH1_LD4
        bool "PH1-LD4"
index fc5132d..7780030 100644 (file)
@@ -37,8 +37,6 @@
 #define CONFIG_DDR_NUM_CH0 2
 #define CONFIG_DDR_NUM_CH1 2
 
-#define CONFIG_UNIPHIER_SMP
-
 /*
  * Memory Size & Mapping
  */