81e33f4b65
Until now, the SoC selection for the ARCH_MVEBU platforms has been done in the config header. Using CONFIG_ARMADA_XP in a non-clear way. As it needed to get selected for AXP and A38x based boards. This patch now changes this to move the SoC selection to Kconfig. And also uses CONFIG_ARCH_MVEBU as a common define for both AXP and A38x. This makes things a bit clearer - especially for new board additions. Additionally the defines CONFIG_SYS_MVEBU_DDR_AXP and CONFIG_SYS_MVEBU_DDR_A38X are replaced with the already available CONFIG_ARMADA_38X and CONFIG_ARMADA_XP. And CONFIG_DDR3 is removed, as its not referenced anywhere. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Luka Perkov <luka.perkov@sartura.hr>
62 lines
1.3 KiB
Plaintext
62 lines
1.3 KiB
Plaintext
if ARCH_MVEBU
|
|
|
|
config ARMADA_38X
|
|
bool
|
|
|
|
config ARMADA_XP
|
|
bool
|
|
|
|
choice
|
|
prompt "Marvell MVEBU (Armada XP/38x) board select"
|
|
optional
|
|
|
|
config TARGET_CLEARFOG
|
|
bool "Support ClearFog"
|
|
select ARMADA_38X
|
|
|
|
config TARGET_DB_88F6820_GP
|
|
bool "Support DB-88F6820-GP"
|
|
select ARMADA_38X
|
|
|
|
config TARGET_DB_MV784MP_GP
|
|
bool "Support db-mv784mp-gp"
|
|
select ARMADA_XP
|
|
|
|
config TARGET_MAXBCM
|
|
bool "Support maxbcm"
|
|
select ARMADA_XP
|
|
|
|
endchoice
|
|
|
|
config SYS_BOARD
|
|
default "clearfog" if TARGET_CLEARFOG
|
|
default "db-88f6820-gp" if TARGET_DB_88F6820_GP
|
|
default "db-mv784mp-gp" if TARGET_DB_MV784MP_GP
|
|
default "maxbcm" if TARGET_MAXBCM
|
|
|
|
config SYS_CONFIG_NAME
|
|
default "clearfog" if TARGET_CLEARFOG
|
|
default "db-88f6820-gp" if TARGET_DB_88F6820_GP
|
|
default "db-mv784mp-gp" if TARGET_DB_MV784MP_GP
|
|
default "maxbcm" if TARGET_MAXBCM
|
|
|
|
config SYS_VENDOR
|
|
default "Marvell" if TARGET_DB_MV784MP_GP
|
|
default "Marvell" if TARGET_DB_88F6820_GP
|
|
default "solidrun" if TARGET_CLEARFOG
|
|
|
|
config SYS_SOC
|
|
default "mvebu"
|
|
|
|
config MVEBU_BOOTROM_UARTBOOT
|
|
bool "Use kwboot to boot via BootROM xmodem protocol"
|
|
help
|
|
This option provides support for booting via the Marvell
|
|
xmodem protocol, used by the kwboot tool.
|
|
|
|
Please don't forget to configure the boot device in
|
|
the board specific kwbimage.cfg file this way:
|
|
BOOT_FROM uart
|
|
|
|
endif
|