[coreboot-gerrit] New patch to review for coreboot: 2409d33 mips: CBMEM table reference is passed to payload
Ionela Voinescu (ionela.voinescu@imgtec.com)
gerrit at coreboot.org
Mon Jun 8 00:50:43 CEST 2015
Ionela Voinescu (ionela.voinescu at imgtec.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10460
-gerrit
commit 2409d3371fab4e8e9f7035b3ac4a5231656cefeb
Author: Ionela Voinescu <ionela.voinescu at imgtec.com>
Date: Tue May 26 17:15:42 2015 +0100
mips: CBMEM table reference is passed to payload
The coreboot table address is passed as an argument when jumping
to payload.
With this change depthcharge is loaded and executed properly on urara.
Change-Id: I230d474a91b8d38aff070aa4aac623b6c8f0809c
Signed-off-by: Ionela Voinescu <ionela.voinescu at imgtec.com>
---
src/arch/mips/boot.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/arch/mips/boot.c b/src/arch/mips/boot.c
index 2ac50b3..c09af05 100644
--- a/src/arch/mips/boot.c
+++ b/src/arch/mips/boot.c
@@ -22,5 +22,8 @@
void arch_prog_run(struct prog *prog)
{
- stage_exit(prog_entry(prog));
+ void *cb_tables = prog_entry_arg(prog);
+ void (*doit)(void *) = prog_entry(prog);
+
+ doit(cb_tables);
}
More information about the coreboot-gerrit
mailing list