summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2015-01-19 11:33:47 +0100
committerLuka Perkov <luka.perkov@sartura.hr>2015-02-06 17:24:43 +0100
commite7778ec153e279e451bf7c55c05c76e76b095875 (patch)
tree21d1e37f94d7c6a98a87d38333f86959f2ed20da /arch/arm
parent2f20aa82f470c0f6b5592914b9c4c3fd07bcb722 (diff)
downloadu-boot-imx-e7778ec153e279e451bf7c55c05c76e76b095875.zip
u-boot-imx-e7778ec153e279e451bf7c55c05c76e76b095875.tar.gz
u-boot-imx-e7778ec153e279e451bf7c55c05c76e76b095875.tar.bz2
arm: maxbcm: Enable SPL to include DDR training code into U-Boot
This patch adds SPL support to the maxbcm MV78460 based board. Including the fixed DDR configuratrion needed for the DDR training code. And the the serdes PHY init code. Signed-off-by: Stefan Roese <sr@denx.de> Reviewed-by: Luka Perkov <luka.perkov@sartura.hr>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/Kconfig1
-rw-r--r--arch/arm/include/asm/arch-armada-xp/cpu.h3
2 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 986b4c5..27b38df 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -240,6 +240,7 @@ config TARGET_DB_MV784MP_GP
config TARGET_MAXBCM
bool "Support maxbcm"
select CPU_V7
+ select SUPPORT_SPL
config TARGET_DEVKIT3250
bool "Support devkit3250"
diff --git a/arch/arm/include/asm/arch-armada-xp/cpu.h b/arch/arm/include/asm/arch-armada-xp/cpu.h
index 6b60c21..4341799 100644
--- a/arch/arm/include/asm/arch-armada-xp/cpu.h
+++ b/arch/arm/include/asm/arch-armada-xp/cpu.h
@@ -96,6 +96,9 @@ struct kwgpio_registers {
u32 irq_level;
};
+/* Needed for dynamic (board-specific) mbus configuration */
+extern struct mvebu_mbus_state mbus_state;
+
/*
* functions
*/