vboot1: Set BEFORE_OPROM_LOAD flag for VbInit()
This sets the new VB_INIT_FLAG_BEFORE_OPROM_LOAD flag for VbInit() to indicate that we are running from early firmware before option rom loading has occurred so it can do the right thing when it checks whether or not to tell the system to reboot after setting the VbNv flag. BUG=chrome-os-partner:32379 BRANCH=samus TEST=pass FAFT tests on samus Signed-off-by: Duncan Laurie <dlaurie@chromium.org> Change-Id: I6968fcb6cda74e88f56bea6ea9bbf77cc795b8d6 Reviewed-on: https://chromium-review.googlesource.com/230887 Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
de565f28dc
commit
8a576b0bf4
1 changed files with 1 additions and 0 deletions
|
|
@ -235,6 +235,7 @@ static void vboot_invoke_wrapper(struct vboot_handoff *vboot_handoff)
|
|||
*iflags |= VB_INIT_FLAG_EC_SLOW_UPDATE;
|
||||
if (CONFIG_VBOOT_OPROM_MATTERS) {
|
||||
*iflags |= VB_INIT_FLAG_OPROM_MATTERS;
|
||||
*iflags |= VB_INIT_FLAG_BEFORE_OPROM_LOAD;
|
||||
/* Will load VGA option rom during this boot */
|
||||
if (developer_mode_enabled() || recovery_mode_enabled() ||
|
||||
vboot_wants_oprom()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue