From ade741b3896b1a3872ff74437f04b50762d05849 Mon Sep 17 00:00:00 2001 From: Stefan Roese Date: Wed, 15 Jul 2015 15:36:52 +0200 Subject: 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 Cc: Anton Schubert Cc: Luka Perkov --- arch/arm/mach-mvebu/spl.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'arch/arm/mach-mvebu/spl.c') diff --git a/arch/arm/mach-mvebu/spl.c b/arch/arm/mach-mvebu/spl.c index 402e520..ab045b0 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(); -- cgit v1.1