aboutsummaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorDavid Hendricks <dhendrix@chromium.org>2013-02-11 18:22:44 -0800
committerDavid Hendricks <dhendrix@chromium.org>2013-02-12 03:57:36 +0100
commitca3198f5d646847fe2bf66f4a7c9dcc2e8d7a179 (patch)
treef960965b598d04fe4be7b56a95ae1fbf65e3eb3d /src/arch
parent7635a60ca848b50ff4a0ac85a667adc7151a5abf (diff)
armv7: jump to ELF image using stage_exit()
This is just to get us to the payload. TODO: Do we want to implement any of the stuff from the x86 version, such as copying coreboot to a new location? Change-Id: Ia0544f111d7a1189ebd92d0ba3e11448eabd6252 Signed-off-by: David Hendricks <dhendrix@chromium.org> Reviewed-on: http://review.coreboot.org/2363 Reviewed-by: Ronald G. Minnich <rminnich@gmail.com> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/armv7/boot/boot.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/arch/armv7/boot/boot.c b/src/arch/armv7/boot/boot.c
index 722fca540f..ab531be868 100644
--- a/src/arch/armv7/boot/boot.c
+++ b/src/arch/armv7/boot/boot.c
@@ -4,6 +4,7 @@
#include <boot/elf_boot.h>
#include <string.h>
#include <cpu/x86/multiboot.h>
+#include <arch/stages.h>
#ifndef CMD_LINE
@@ -92,8 +93,9 @@ void jmp_to_elf_entry(void *entry, unsigned long buffer, unsigned long size)
printk(BIOS_SPEW, " elf_boot_notes = 0x%08lx\n", (unsigned long)&elf_boot_notes);
printk(BIOS_SPEW, "adjusted_boot_notes = 0x%08lx\n", adjusted_boot_notes);
- /* FIXME(dhendrix): port code to jump to kernel here... */
+ stage_exit(entry);
#if 0
+ /* FIXME: do we need any of this? */
/* Jump to kernel */
__asm__ __volatile__(
" cld \n\t"
@@ -185,5 +187,3 @@ void jmp_to_elf_entry(void *entry, unsigned long buffer, unsigned long size)
);
#endif
}
-
-