summaryrefslogtreecommitdiffstats
path: root/ports/beagleboneblack/rom_reset.S
diff options
context:
space:
mode:
Diffstat (limited to 'ports/beagleboneblack/rom_reset.S')
-rw-r--r--ports/beagleboneblack/rom_reset.S9
1 files changed, 9 insertions, 0 deletions
diff --git a/ports/beagleboneblack/rom_reset.S b/ports/beagleboneblack/rom_reset.S
index 176f3a7..e44e816 100644
--- a/ports/beagleboneblack/rom_reset.S
+++ b/ports/beagleboneblack/rom_reset.S
@@ -56,6 +56,8 @@
/*********************************************************************/
.extern start
+ .extern pll_init
+ .extern ddr_init
.global reset
.global coldstart
@@ -172,6 +174,13 @@ warmstart:
/* Reset the stack pointer for the SVC mode (our current mode) */
ldr sp, =(MonStack + MONSTACKSIZE - 4)
+ /* Initialize the MPU, Core, DDR, and Per PLLs. Furthermore,
+ * initialize the external DDR3 memory as well.
+ */
+dev_init:
+ bl pll_init
+ bl ddr_init
+
/*
* Restore argument which was saved to r11 and jump to
* the C function start().