summaryrefslogtreecommitdiff
path: root/arch/arm/mach-uniphier/init
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-01-09 01:51:14 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2016-01-13 01:54:55 +0900
commit15607d0d94d5ca124ab3960444fc9efc10c0138c (patch)
treeebf93eb174b2982aa65607281f1f700da7468151 /arch/arm/mach-uniphier/init
parent107b3fb484ed960f0c269deff9eaf7cc6f83b0de (diff)
downloadu-boot-imx-15607d0d94d5ca124ab3960444fc9efc10c0138c.zip
u-boot-imx-15607d0d94d5ca124ab3960444fc9efc10c0138c.tar.gz
u-boot-imx-15607d0d94d5ca124ab3960444fc9efc10c0138c.tar.bz2
ARM: uniphier: add DRAM init code for ProXstream2/PH1-LD6b
As mentioned in the log of commit 019df879a93e2 (ARM: uniphier: add ProXstream2 and PH1-LD6b support), the DRAM init code was missing for a long time. Finally, here it is. SPL works now. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'arch/arm/mach-uniphier/init')
-rw-r--r--arch/arm/mach-uniphier/init/init-proxstream2.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-uniphier/init/init-proxstream2.c b/arch/arm/mach-uniphier/init/init-proxstream2.c
index 859e2e9..029c544 100644
--- a/arch/arm/mach-uniphier/init/init-proxstream2.c
+++ b/arch/arm/mach-uniphier/init/init-proxstream2.c
@@ -12,6 +12,8 @@
int proxstream2_init(const struct uniphier_board_data *bd)
{
+ int ret;
+
proxstream2_sbc_init(bd);
support_card_reset();
@@ -37,5 +39,11 @@ int proxstream2_init(const struct uniphier_board_data *bd)
led_puts("L4");
+ ret = proxstream2_umc_init(bd);
+ if (ret)
+ return ret;
+
+ led_puts("L5");
+
return 0;
}