mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-12 07:57:21 +00:00
arm: socfpga: spl: enable sdram, timer and uart
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>
This commit is contained in:
parent
c218f85ea1
commit
0812a1d3e5
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue