mvebu: Introduce kconfig symbols for SoC variants
authorPhil Sutter <phil@nwl.cc>
Fri, 25 Dec 2015 13:41:22 +0000 (14:41 +0100)
committerStefan Roese <sr@denx.de>
Thu, 14 Jan 2016 13:08:59 +0000 (14:08 +0100)
This patch adds intermediate kconfig symbols which select their SoC
family. Boards then select them instead of the family symbol directly.

Signed-off-by: Phil Sutter <phil@nwl.cc>
Acked-by: Stefan Roese <sr@denx.de>
Reviewed-by: Tom Rini <trini@konsulko.com>
arch/arm/mach-mvebu/Kconfig
include/configs/clearfog.h
include/configs/db-88f6820-gp.h

index a15c4b7669b262cb75a2cb53ec6f645450c6267b..35d44f64ba8804ce0c0eae6e821719b3add4fe0c 100644 (file)
@@ -6,25 +6,41 @@ config ARMADA_38X
 config ARMADA_XP
        bool
 
+config MV78230
+       bool
+       select ARMADA_XP
+
+config MV78260
+       bool
+       select ARMADA_XP
+
+config MV78460
+       bool
+       select ARMADA_XP
+
+config DB_88F6820_GP
+       bool
+       select ARMADA_38X
+
 choice
        prompt "Marvell MVEBU (Armada XP/38x) board select"
        optional
 
 config TARGET_CLEARFOG
        bool "Support ClearFog"
-       select ARMADA_38X
+       select DB_88F6820_GP
 
 config TARGET_DB_88F6820_GP
        bool "Support DB-88F6820-GP"
-       select ARMADA_38X
+       select DB_88F6820_GP
 
 config TARGET_DB_MV784MP_GP
        bool "Support db-mv784mp-gp"
-       select ARMADA_XP
+       select MV78460
 
 config TARGET_MAXBCM
        bool "Support maxbcm"
-       select ARMADA_XP
+       select MV78460
 
 endchoice
 
index 6c5356b35d66f76db0eba9da0d7e7b5efb2cc581..f0de827fd26d86746ea9a4582af7dc68d77b671d 100644 (file)
@@ -10,7 +10,6 @@
 /*
  * High Level Configuration Options (easy to change)
  */
-#define CONFIG_DB_88F6820_GP           /* Board target name for DDR training */
 
 #define CONFIG_DISPLAY_BOARDINFO_LATE
 
index 03a3d316f2487a0a16c684aad0ffc733b89fecad..ef14132b89ed685fb177b1cc2cc9be53b412232a 100644 (file)
@@ -10,7 +10,6 @@
 /*
  * High Level Configuration Options (easy to change)
  */
-#define CONFIG_DB_88F6820_GP           /* Board target name for DDR training */
 
 #define CONFIG_DISPLAY_BOARDINFO_LATE