summaryrefslogtreecommitdiff
path: root/src/arch/arm64/boot.c
diff options
context:
space:
mode:
authorMarc Jones <marc.jones@se-eng.com>2015-01-16 13:45:23 -0700
committerMarc Jones <marc.jones@se-eng.com>2015-01-26 11:41:06 +0100
commit17b9c198e0ebbd79d1b581eba0810a4c7979f012 (patch)
tree41eade9129f8d0cfcea7287dd1ffa3a724bb2eb4 /src/arch/arm64/boot.c
parentc4dbdaf50a8fa67e0d17e237eb0dcb6309240dd6 (diff)
downloadcoreboot-17b9c198e0ebbd79d1b581eba0810a4c7979f012.tar.xz
arm64: Prepare ARM64 for building
There were a number of issues with the ARM64 build files. This patch ports the following changes from ARMV4/V7 to ARMV8: - make armv8 Kconfig options consistent with armv4/v7 - fix build include issues in boot.c, tables.c, and early_variables.h by matching armv4/v7. Change-Id: I57359a96821d88c50f48dc0bb6ad226cacb0c2ec Signed-off-by: Marc Jones <marc.jones@se-eng.com> Change-Id: Iacd95d336559c45458784d1da67bde62a0956620 Reviewed-on: http://review.coreboot.org/8236 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/arch/arm64/boot.c')
-rw-r--r--src/arch/arm64/boot.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/arch/arm64/boot.c b/src/arch/arm64/boot.c
index 6fb0e650b5..85b2cce95f 100644
--- a/src/arch/arm64/boot.c
+++ b/src/arch/arm64/boot.c
@@ -21,13 +21,14 @@
#include <arch/stages.h>
#include <cbmem.h>
#include <console/console.h>
+#include <payload_loader.h>
-void jmp_to_elf_entry(void *entry, unsigned long buffer, unsigned long size)
+void arch_payload_run(const struct payload *payload)
{
- void (*doit)(void *) = entry;
+ void (*doit)(void *) = payload->entry;
void *cb_tables = cbmem_find(CBMEM_ID_CBTABLE);
- printk(BIOS_SPEW, "entry = %p\n", entry);
+ printk(BIOS_SPEW, "entry = %p\n", payload->entry);
cache_sync_instructions();
doit(cb_tables);
}