microblaze: Do not call timer init that early
authorMichal Simek <michal.simek@xilinx.com>
Wed, 11 Jul 2018 12:08:26 +0000 (14:08 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 19 Jul 2018 08:49:54 +0000 (10:49 +0200)
commit35670665d6b6176566b5701c078d5103c1ec4c86
tree5428a662190d3896c3447767c7ae7dcc9ab29a2a
parent0df9bea4340ae64ec82004852ab325e869c371b8
microblaze: Do not call timer init that early

Timer needs to be converted to DM but as of now it can't be called so
early because intc controller is not ready. Call it later in board_r.c.
Before this patch timer_init is called twice which is wrong.
The patch is blocking initialization before relocation.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/microblaze/cpu/timer.c