]> git.sur5r.net Git - u-boot/commitdiff
arm: socfpga: spl: enable sdram, timer and uart
authorDinh Nguyen <dinguyen@opensource.altera.com>
Mon, 30 Mar 2015 22:01:05 +0000 (17:01 -0500)
committerMarek Vasut <marex@denx.de>
Tue, 21 Apr 2015 10:23:16 +0000 (12:23 +0200)
Add the calls in the spl_board_init to enable SDRAM, timer, and UART.

Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
Acked-by: Marek Vasut <marex@denx.de>
arch/arm/cpu/armv7/socfpga/spl.c

index 6a8c15d91fbcaba9f404aab42c47dac38a488d42..a4dbe4ffe61fb75be5ea83f915e1fd0c59224ab9 100644 (file)
@@ -144,6 +144,10 @@ void spl_board_init(void)
        /* freeze all IO banks */
        sys_mgr_frzctrl_freeze_req();
 
+       socfpga_sdram_enable();
+       socfpga_uart0_enable();
+       socfpga_osc1timer_enable();
+
        debug("Reconfigure Clock Manager\n");
        /* reconfigure the PLLs */
        cm_basic_init(&cm_default_cfg);