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

Masahiro Yamada yamada.m at jp.panasonic.com
Fri Dec 5 16:03:20 CET 2014


Signed-off-by: Masahiro Yamada <yamada.m at jp.panasonic.com>
---

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

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
  */
-- 
1.9.1



More information about the U-Boot mailing list