From ca3198f5d646847fe2bf66f4a7c9dcc2e8d7a179 Mon Sep 17 00:00:00 2001 From: David Hendricks Date: Mon, 11 Feb 2013 18:22:44 -0800 Subject: 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 Reviewed-on: http://review.coreboot.org/2363 Reviewed-by: Ronald G. Minnich Tested-by: build bot (Jenkins) --- src/arch/armv7/boot/boot.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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 #include #include +#include #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 } - - -- cgit v1.2.3