summaryrefslogtreecommitdiff
path: root/src/arch/mips/boot.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/mips/boot.c')
-rw-r--r--src/arch/mips/boot.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/arch/mips/boot.c b/src/arch/mips/boot.c
index d322e99079..b213ffcd1e 100644
--- a/src/arch/mips/boot.c
+++ b/src/arch/mips/boot.c
@@ -19,9 +19,10 @@
#include <console/console.h>
#include <arch/stages.h>
+#include <program_loading.h>
-void jmp_to_elf_entry(void *entry, unsigned long buffer, unsigned long size)
+void arch_payload_run(const struct payload *payload)
{
- printk(BIOS_SPEW, "entry = %p\n", entry);
- stage_exit(entry);
+ printk(BIOS_SPEW, "entry = %p\n", payload->entry);
+ stage_exit(payload->entry);
}