[coreboot-gerrit] New patch to review for coreboot: 32fab03 mips: bring payload execution to current standards

Patrick Georgi (pgeorgi@google.com) gerrit at coreboot.org
Mon Mar 30 14:41:59 CEST 2015


Patrick Georgi (pgeorgi at google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/9167

-gerrit

commit 32fab030103c4f3b63cb9c5de5a79c9b340a0f7d
Author: Patrick Georgi <pgeorgi at google.com>
Date:   Mon Mar 30 14:13:23 2015 +0200

    mips: bring payload execution to current standards
    
    Change-Id: Id7f438a95fc7c7b41ce3d0fb419b0b455f8367a9
    Signed-off-by: Patrick Georgi <pgeorgi at google.com>
---
 src/arch/mips/boot.c                | 7 ++++---
 src/arch/mips/include/arch/stages.h | 1 -
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/arch/mips/boot.c b/src/arch/mips/boot.c
index d322e99..b213ffc 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 b95ad1d..3015bb1 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 */



More information about the coreboot-gerrit mailing list