arm: mvebu: Move SoC selection (A38X vs AXP) into Kconfig
authorStefan Roese <sr@denx.de>
Mon, 21 Dec 2015 12:56:33 +0000 (13:56 +0100)
committerStefan Roese <sr@denx.de>
Thu, 14 Jan 2016 13:08:59 +0000 (14:08 +0100)
commit81e33f4b65171a7dcb99a3efd9b3a45da129a21a
tree54ea0fb992bb43c740667556e7dbf5cd1d40373d
parentb322c83aa47f2fcf1af73a4f686ce4478fca19e3
arm: mvebu: Move SoC selection (A38X vs AXP) into Kconfig

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>
15 files changed:
arch/arm/Makefile
arch/arm/mach-mvebu/Kconfig
arch/arm/mach-mvebu/Makefile
arch/arm/mach-mvebu/dram.c
arch/arm/mach-mvebu/include/mach/config.h
arch/arm/mach-mvebu/mbus.c
arch/arm/mach-mvebu/timer.c
drivers/Makefile
drivers/block/mvsata_ide.c
drivers/i2c/mvtwsi.c
include/configs/clearfog.h
include/configs/db-88f6820-gp.h
include/configs/db-mv784mp-gp.h
include/configs/maxbcm.h
tools/Makefile