summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNikolai Artemiev <nartemiev@google.com>2022-03-22 18:45:14 +1100
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-08-18 03:31:17 +0000
commit2b2b0c44ec2258609acf5ff6a06027fd890d8b1e (patch)
tree0ab7b8ec3ba4b748369c49e88d7e81f495b6e466 /Makefile
parent9b08a3c4806153256e13a0d8e9019d6a387becd5 (diff)
downloadvboot-2b2b0c44ec2258609acf5ff6a06027fd890d8b1e.tar.gz
vboot_reference: make flashrom_get_wp() use libflashrom
This makes flashrom_get_wp() use the new libflashrom WP interface that was recently added to flashrom and moves it to host/lib/flashrom_drv.c with the other libflashrom wrapper functions. BUG=b:223291615 BRANCH=none TEST=flashrom --wp-disable; futility update -i image.bin \ futility prints: `Write protection: 0 (disabled; HW=0, SW=0).` TEST=flashrom --wp-enable; futility update -i image.bin \ futility prints: `Write protection: 0 (disabled; HW=0, SW=1).` Change-Id: Ib13eeb2f1f718443271b074969ff69e66149f401 Signed-off-by: Nikolai Artemiev <nartemiev@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3540785 Commit-Queue: Edward O'Callaghan <quasisec@chromium.org> Reviewed-by: Edward O'Callaghan <quasisec@chromium.org> Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 0 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 95d14239..bc55f037 100644
--- a/Makefile
+++ b/Makefile
@@ -676,7 +676,6 @@ FUTIL_SRCS = \
ifneq ($(filter-out 0,${USE_FLASHROM}),)
FUTIL_SRCS += host/lib/flashrom_drv.c \
- futility/flashrom_wp_drv.c \
futility/updater_archive.c \
futility/updater_manifest.c \
futility/updater_quirks.c \