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>
This commit is contained in:
Phil Sutter 2015-12-25 14:41:22 +01:00 committed by Stefan Roese
parent beadff1731
commit 4290252148
3 changed files with 20 additions and 6 deletions

View 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

View 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

View 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