summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/security/vboot/vboot_logic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/security/vboot/vboot_logic.c b/src/security/vboot/vboot_logic.c
index c257d22b8e..5ea49165f2 100644
--- a/src/security/vboot/vboot_logic.c
+++ b/src/security/vboot/vboot_logic.c
@@ -212,9 +212,9 @@ static uint32_t extend_pcrs(struct vb2_context *ctx)
vboot_extend_pcr(ctx, 1, HWID_DIGEST_PCR);
}
-#define EC_EFS_BOOT_MODE_TRUSTED_RO 0x00
+#define EC_EFS_BOOT_MODE_VERIFIED_RW 0x00
#define EC_EFS_BOOT_MODE_UNTRUSTED_RO 0x01
-#define EC_EFS_BOOT_MODE_VERIFIED_RW 0x02
+#define EC_EFS_BOOT_MODE_TRUSTED_RO 0x02
static const char *get_boot_mode_string(uint8_t boot_mode)
{