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@imgtec.com>
Reviewed-on: http://review.coreboot.org/10460
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
Ionela Voinescu 2015-05-26 17:15:42 +01:00 committed by Patrick Georgi
parent 1d4c305887
commit 82efc7600a
1 changed files with 4 additions and 1 deletions

View File

@ -22,5 +22,8 @@
void arch_prog_run(struct prog *prog) 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);
} }