aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2015-12-25 14:41:22 +0100
committerStefan Roese <sr@denx.de>2016-01-14 14:08:59 +0100
commit4290252148a1a8e998294e30780cb2ebb239d301 (patch)
treea8ed2121f1da2138611a701e2e4f067b6048cbdf
parentbeadff1731bf607eee36467a3d3c12102a178c45 (diff)
downloadu-boot-4290252148a1a8e998294e30780cb2ebb239d301.zip
u-boot-4290252148a1a8e998294e30780cb2ebb239d301.tar.gz
u-boot-4290252148a1a8e998294e30780cb2ebb239d301.tar.bz2
mvebu: Introduce kconfig symbols for SoC variants
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>
-rw-r--r--arch/arm/mach-mvebu/Kconfig24
-rw-r--r--include/configs/clearfog.h1
-rw-r--r--include/configs/db-88f6820-gp.h1
3 files changed, 20 insertions, 6 deletions
diff --git a/arch/arm/mach-mvebu/Kconfig b/arch/arm/mach-mvebu/Kconfig
index a15c4b7..35d44f6 100644
--- a/arch/arm/mach-mvebu/Kconfig
+++ b/arch/arm/mach-mvebu/Kconfig
@@ -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
diff --git a/include/configs/clearfog.h b/include/configs/clearfog.h
index 6c5356b..f0de827 100644
--- a/include/configs/clearfog.h
+++ b/include/configs/clearfog.h
@@ -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
diff --git a/include/configs/db-88f6820-gp.h b/include/configs/db-88f6820-gp.h
index 03a3d31..ef14132 100644
--- a/include/configs/db-88f6820-gp.h
+++ b/include/configs/db-88f6820-gp.h
@@ -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