vboot: make vboot2_verify_firmware return

Hardware / Coreboot - Daisuke Nojiri [chromium.org] - 18 April 2015 01:56 UTC

this allows each board to decide what to do after firmware verification is done. some board needs to return back to the previous stage and let the previous stage kick off the verified stage.

this also makes it more visible what is going to happen in the verstage since stage_exit now resides in main().

BUG=none BRANCH=tot TEST=booted cosmos dev board. booted blaze in normal and recovery mode. built for all current boards.

23727ca vboot: make vboot2_verify_firmware return
src/soc/nvidia/tegra124/verstage.c | 19 ++++++++++++++++---
src/soc/nvidia/tegra132/verstage.c | 17 ++++++++++++++---
src/vendorcode/google/chromeos/vboot2/misc.h | 2 +-
src/vendorcode/google/chromeos/vboot2/verstub.c | 10 +++-------
4 files changed, 34 insertions(+), 14 deletions(-)

Upstream: review.coreboot.org


  • Share