summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mvebu/spl.c
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2015-07-15 15:36:52 +0200
committerLuka Perkov <luka.perkov@sartura.hr>2015-07-23 08:30:58 +0200
commitade741b3896b1a3872ff74437f04b50762d05849 (patch)
tree450c1c06704f2f0e1be2bec6374c3093917cbd39 /arch/arm/mach-mvebu/spl.c
parente863f7f051687b682b948bf5c5493c8b60463113 (diff)
downloadtalos-obmc-uboot-ade741b3896b1a3872ff74437f04b50762d05849.tar.gz
talos-obmc-uboot-ade741b3896b1a3872ff74437f04b50762d05849.zip
arm: mvebu: Call timer_init early before PHY and DDR init
Without calling timer_init(), the xdelay() functions return immediately. We need to call timer_init() early, so that these functions work and the PHY and DDR init code works correctly. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Anton Schubert <anton.schubert@gmx.de> Cc: Luka Perkov <luka.perkov@sartura.hr>
Diffstat (limited to 'arch/arm/mach-mvebu/spl.c')
-rw-r--r--arch/arm/mach-mvebu/spl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-mvebu/spl.c b/arch/arm/mach-mvebu/spl.c
index 402e520ea9..ab045b01b7 100644
--- a/arch/arm/mach-mvebu/spl.c
+++ b/arch/arm/mach-mvebu/spl.c
@@ -28,6 +28,8 @@ void board_init_f(ulong dummy)
preloader_console_init();
+ timer_init();
+
/* First init the serdes PHY's */
serdes_phy_config();
OpenPOWER on IntegriCloud