Pārlūkot izejas kodu

OMAP: spl: call timer_init() from SPL

We need to initialize timer properly, otherwise all delays
inside SPL will be wrong.

Signed-off-by: Ilya Yanok <ilya.yanok@cogentembedded.com>
Ilya Yanok 12 gadi atpakaļ
vecāks
revīzija
4063c77deb
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2 0
      common/spl/spl.c

+ 2 - 0
common/spl/spl.c

@@ -155,6 +155,8 @@ void board_init_r(gd_t *dummy1, ulong dummy2)
 			CONFIG_SYS_SPL_MALLOC_SIZE);
 #endif
 
+	timer_init();
+
 #ifdef CONFIG_SPL_BOARD_INIT
 	spl_board_init();
 #endif