diff mbox

[U-Boot,3/9] ARM: UniPhier: move CONFIG_UNIPHIER_SMP to Kconfig

Message ID 1417791806-30065-4-git-send-email-yamada.m@jp.panasonic.com
State Accepted
Delegated to: Masahiro Yamada
Headers show

Commit Message

Masahiro Yamada Dec. 5, 2014, 3:03 p.m. UTC
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
---

 arch/arm/cpu/armv7/uniphier/Kconfig | 4 ++++
 include/configs/ph1_pro4.h          | 2 --
 2 files changed, 4 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/arch/arm/cpu/armv7/uniphier/Kconfig b/arch/arm/cpu/armv7/uniphier/Kconfig
index 36b7f11..31a03d9 100644
--- a/arch/arm/cpu/armv7/uniphier/Kconfig
+++ b/arch/arm/cpu/armv7/uniphier/Kconfig
@@ -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"
diff --git a/include/configs/ph1_pro4.h b/include/configs/ph1_pro4.h
index fc5132d..7780030 100644
--- a/include/configs/ph1_pro4.h
+++ b/include/configs/ph1_pro4.h
@@ -37,8 +37,6 @@ 
 #define CONFIG_DDR_NUM_CH0 2
 #define CONFIG_DDR_NUM_CH1 2
 
-#define CONFIG_UNIPHIER_SMP
-
 /*
  * Memory Size & Mapping
  */