From 82efc7600a6cfd5bad7600a1341d3ba4182e6324 Mon Sep 17 00:00:00 2001 From: Ionela Voinescu Date: Tue, 26 May 2015 17:15:42 +0100 Subject: [PATCH] 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 Reviewed-on: http://review.coreboot.org/10460 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin Reviewed-by: Patrick Georgi --- 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 2ac50b3183..c09af0539a 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); }