arm: socfpga: spl: Add call to timer_init
authorDinh Nguyen <dinguyen@opensource.altera.com>
Mon, 30 Mar 2015 22:01:06 +0000 (17:01 -0500)
committerMarek Vasut <marex@denx.de>
Tue, 21 Apr 2015 10:23:16 +0000 (12:23 +0200)
Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
arch/arm/cpu/armv7/socfpga/spl.c

index a4dbe4ffe61fb75be5ea83f915e1fd0c59224ab9..95992f0d795b010580d529cdb32eaf70ed3362fb 100644 (file)
@@ -148,6 +148,8 @@ void spl_board_init(void)
        socfpga_uart0_enable();
        socfpga_osc1timer_enable();
 
+       timer_init();
+
        debug("Reconfigure Clock Manager\n");
        /* reconfigure the PLLs */
        cm_basic_init(&cm_default_cfg);