coreboot: add a place to choose romstage loader

Hardware / Coreboot - Aaron Durbin [chromium.org] - 22 April 2015 08:38 UTC

Instead of always loading romstage from cbfs provide a way, similar to ramstage and payload, for other program loaders to intervene. For now, only the cbfs loader is consulted.

TEST=Booted to end of ramstage on qemu-armv7

Change-Id: I87c3e2e566d7a0723e775aa427de58af745ecdd5

69cb2c2 coreboot: add a place to choose romstage loader
src/lib/loaders/Makefile.inc | 1 +
src/lib/loaders/cbfs_romstage_loader.c | 31 ++++++++++++++++++++++++++++++
src/lib/loaders/load_and_run_romstage.c | 32 ++++++++++++++++++++++++-------
3 files changed, 57 insertions(+), 7 deletions(-)

Upstream: review.coreboot.org


  • Share