diff options
author | Daisuke Nojiri <dnojiri@chromium.org> | 2021-05-12 12:50:41 -0700 |
---|---|---|
committer | Julius Werner <jwerner@chromium.org> | 2021-09-15 23:56:06 +0000 |
commit | 850728b8673116b4e9aa679679370a277f082722 (patch) | |
tree | 4c3095175482c012600e3c2b8359f555b66d8bae /src/mainboard/lenovo/thinkcentre_a58 | |
parent | 90ca4aed31c86bce9df86e8d08a869a8786c8ac2 (diff) |
vboot: Call check_boot_mode before vb2api_fw_phase1
Currently, check_boot_mode is called after vb2api_fw_phase1, which
makes verstage_main exit before reaching check_boot_mode if recovery
mode is manually requested. Thus, recovery mode isn't able to test
whether VB2_CONTEXT_EC_TRUSTED is set or not.
This patch makes verstage_main call check_boot_mode before
vb2api_fw_phase1 to fix the issue.
BUG=b:180927027, b:187871195
BRANCH=none
TEST=build
Change-Id: If8524d1513b13fd79320a116a83f6729a820f61f
Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/57623
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/mainboard/lenovo/thinkcentre_a58')
0 files changed, 0 insertions, 0 deletions