summaryrefslogtreecommitdiff
path: root/arch/arm/machine/boot_asm.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/machine/boot_asm.S')
-rw-r--r--arch/arm/machine/boot_asm.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/machine/boot_asm.S b/arch/arm/machine/boot_asm.S
index ae250b1b..c78c710e 100644
--- a/arch/arm/machine/boot_asm.S
+++ b/arch/arm/machine/boot_asm.S
@@ -18,6 +18,7 @@
#include <machine/asm.h>
#include <machine/boot.h>
#include <machine/pmap.h>
+#include <machine/pmem.h>
.section BOOT_LOAD_SECTION, "awx"
@@ -38,7 +39,7 @@ ASM_FUNC(_start):
* RAM size isn't known, we can't use it for a stack. As a result,
* perform the relocation in assembly without using a stack.
*/
- ldr %r5, =(BOOT_RAM_START) /* Load RAM address in %r5 */
+ ldr %r5, =(PMEM_RAM_START) /* Load RAM address in %r5 */
mov %r6, #0 /* Load kernel address in %r6 */
ldr %r0, boot_kernel_end /* Load kernel end virtual address
in %r0 */