diff options
author | Joel Kitching <kitching@google.com> | 2019-04-07 01:01:51 +0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-04-11 11:23:33 +0000 |
commit | a751445de4df403182666e8bf1a81c1886f16c48 (patch) | |
tree | e559570ccb6ea4a9d0026c0e538d1745a09f7274 /src/security/vboot | |
parent | ae0fb762a2b0592a9734120bd14e0b7a98af9d31 (diff) | |
download | coreboot-a751445de4df403182666e8bf1a81c1886f16c48.tar.xz |
vboot: do not set VBSD_BOOT_FIRMWARE_WP_ENABLED flag
The value of "write protect" GPIO shall be read in depthcharge,
and the flag shall be set there instead.
BUG=b:124141368, b:124192753, chromium:1556855
TEST=Build locally
CQ-DEPEND=CL:1556855
BRANCH=none
Change-Id: I4d24a057b1385244a836a67c565ee6726a894fdc
Signed-off-by: Joel Kitching <kitching@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32234
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/security/vboot')
-rw-r--r-- | src/security/vboot/vboot_handoff.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/security/vboot/vboot_handoff.c b/src/security/vboot/vboot_handoff.c index 2f239e639a..047fcafb3d 100644 --- a/src/security/vboot/vboot_handoff.c +++ b/src/security/vboot/vboot_handoff.c @@ -58,9 +58,6 @@ static void fill_vboot_handoff(struct vboot_handoff *vboot_handoff, vb_sd->data_used = sizeof(VbSharedDataHeader); vb_sd->fw_version_tpm = vb2_sd->fw_version_secdata; - if (get_write_protect_state()) - vb_sd->flags |= VBSD_BOOT_FIRMWARE_WP_ENABLED; - if (vb2_sd->recovery_reason) { vb_sd->firmware_index = 0xFF; if (vb2_sd->flags & VB2_SD_FLAG_MANUAL_RECOVERY) |