projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c218f85
)
arm: socfpga: spl: enable sdram, timer and uart
author
Dinh Nguyen
<dinguyen@opensource.altera.com>
Mon, 30 Mar 2015 22:01:05 +0000
(17:01 -0500)
committer
Marek 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
patch
|
blob
|
history
diff --git
a/arch/arm/cpu/armv7/socfpga/spl.c
b/arch/arm/cpu/armv7/socfpga/spl.c
index 6a8c15d91fbcaba9f404aab42c47dac38a488d42..a4dbe4ffe61fb75be5ea83f915e1fd0c59224ab9 100644
(file)
--- a/
arch/arm/cpu/armv7/socfpga/spl.c
+++ b/
arch/arm/cpu/armv7/socfpga/spl.c
@@
-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);