diff options
Diffstat (limited to 'src/vboot')
-rw-r--r-- | src/vboot/bootmode.c | 6 | ||||
-rw-r--r-- | src/vboot/vboot_handoff.c | 2 |
2 files changed, 0 insertions, 8 deletions
diff --git a/src/vboot/bootmode.c b/src/vboot/bootmode.c index 23dec13396..120744837b 100644 --- a/src/vboot/bootmode.c +++ b/src/vboot/bootmode.c @@ -147,12 +147,6 @@ int __attribute__((weak)) clear_recovery_mode_switch(void) return 0; } -int __attribute__((weak)) get_sw_write_protect_state(void) -{ - // Can be implemented by a platform / mainboard - return 0; -} - void __attribute__((weak)) log_recovery_mode_switch(void) { // Weak implementation. Nothing to do. diff --git a/src/vboot/vboot_handoff.c b/src/vboot/vboot_handoff.c index b3a5c19641..64c8ca6ef7 100644 --- a/src/vboot/vboot_handoff.c +++ b/src/vboot/vboot_handoff.c @@ -62,8 +62,6 @@ static void fill_vboot_handoff(struct vboot_handoff *vboot_handoff, if (get_write_protect_state()) vb_sd->flags |= VBSD_BOOT_FIRMWARE_WP_ENABLED; - if (get_sw_write_protect_state()) - vb_sd->flags |= VBSD_BOOT_FIRMWARE_SW_WP_ENABLED; if (vb2_sd->recovery_reason) { vb_sd->firmware_index = 0xFF; |