aboutsummaryrefslogtreecommitdiffstats
path: root/src/arch/mips
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@google.com>2015-03-30 14:13:23 +0200
committerPatrick Georgi <pgeorgi@google.com>2015-03-30 20:41:24 +0200
commit3bc2999cb0b4c0857cd9548aba5abd6bde213282 (patch)
treeecb9b540d51b5417dd7930a80a2f58c23bfa8898 /src/arch/mips
parent6f723c2692d72083011e45d8c6db924a49ad705e (diff)
downloadcoreboot-3bc2999cb0b4c0857cd9548aba5abd6bde213282.tar.gz
coreboot-3bc2999cb0b4c0857cd9548aba5abd6bde213282.tar.xz
coreboot-3bc2999cb0b4c0857cd9548aba5abd6bde213282.zip
mips: bring payload execution to current standards
Change-Id: Id7f438a95fc7c7b41ce3d0fb419b0b455f8367a9 Signed-off-by: Patrick Georgi <pgeorgi@google.com> Reviewed-on: http://review.coreboot.org/9167 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@google.com>
Diffstat (limited to 'src/arch/mips')
-rw-r--r--src/arch/mips/boot.c7
-rw-r--r--src/arch/mips/include/arch/stages.h1
2 files changed, 4 insertions, 4 deletions
diff --git a/src/arch/mips/boot.c b/src/arch/mips/boot.c
index d322e9907..b213ffcd1 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);
}
diff --git a/src/arch/mips/include/arch/stages.h b/src/arch/mips/include/arch/stages.h
index b95ad1db4..3015bb135 100644
--- a/src/arch/mips/include/arch/stages.h
+++ b/src/arch/mips/include/arch/stages.h
@@ -24,6 +24,5 @@ extern void main(void);
void stage_entry(void);
void stage_exit(void *);
-void jmp_to_elf_entry(void *entry, unsigned long buffer, unsigned long size);
#endif /* __MIPS_ARCH_STAGES_H */