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)
This commit is contained in:
parent
7635a60ca8
commit
ca3198f5d6
|
@ -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
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue