arm: mvebu: Call timer_init early before PHY and DDR init
authorStefan Roese <sr@denx.de>
Wed, 15 Jul 2015 13:36:52 +0000 (15:36 +0200)
committerLuka Perkov <luka.perkov@sartura.hr>
Thu, 23 Jul 2015 06:30:58 +0000 (08:30 +0200)
commitade741b3896b1a3872ff74437f04b50762d05849
tree450c1c06704f2f0e1be2bec6374c3093917cbd39
parente863f7f051687b682b948bf5c5493c8b60463113
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>
arch/arm/mach-mvebu/spl.c
arch/arm/mach-mvebu/timer.c