vboot: rename FAFT_KEY_OVERIDE and clarify its use

Rename GBB flag FAFT_KEY_OVERRIDE to RUNNING_FAFT.
Add a comment to clarify its use.

BUG=b:124141368, chromium:965914
TEST=make clean && make runtests
BRANCH=none

Change-Id: Ib90de7a0d22b39898fc84be8c16ff34ea1d3b504
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/1977902
Tested-by: Joel Kitching <kitching@chromium.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Commit-Queue: Joel Kitching <kitching@chromium.org>
This commit is contained in:
Joel Kitching 2019-12-20 13:38:56 +08:00 committed by Commit Bot
parent ac75f65b96
commit eb609d26ea
2 changed files with 9 additions and 3 deletions

View File

@ -53,8 +53,14 @@ enum vb2_gbb_flag {
/* Allow booting Legacy OSes in dev mode even if dev_boot_legacy=0. */
VB2_GBB_FLAG_FORCE_DEV_BOOT_LEGACY = 1 << 7,
/* Allow booting using alternate keys for FAFT servo testing */
VB2_GBB_FLAG_FAFT_KEY_OVERIDE = 1 << 8,
/*
* Currently running FAFT tests. May be used as a hint to disable
* other debug features which may interfere with tests. However, this
* should never be used to modify Chrome OS behaviour on specific
* devices with the goal of passing a test. See chromium:965914 for
* more information.
*/
VB2_GBB_FLAG_RUNNING_FAFT = 1 << 8,
/* Disable EC software sync */
VB2_GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC = 1 << 9,

View File

@ -27,7 +27,7 @@ GBBFLAGS_LIST="
VB2_GBB_FLAG_DISABLE_FW_ROLLBACK_CHECK 0x00000020
VB2_GBB_FLAG_ENTER_TRIGGERS_TONORM 0x00000040
VB2_GBB_FLAG_FORCE_DEV_BOOT_LEGACY 0x00000080
VB2_GBB_FLAG_FAFT_KEY_OVERIDE 0x00000100
VB2_GBB_FLAG_RUNNING_FAFT 0x00000100
VB2_GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC 0x00000200
VB2_GBB_FLAG_DEFAULT_DEV_BOOT_LEGACY 0x00000400
VB2_GBB_FLAG_DISABLE_AUXFW_SOFTWARE_SYNC 0x00000800