diff options
author | Jack Rosenthal <jrosenth@chromium.org> | 2020-05-27 08:59:18 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-06-09 16:30:57 +0000 |
commit | c95ea3f2cb7b9aaf64d8b2d7ede13783191e0b73 (patch) | |
tree | d7ca19aa9b9df2490c035cbf2b423d30da73e9c3 /Makefile | |
parent | 1978c84e51cc8eb99f55167c6b5b6cc85439f832 (diff) | |
download | vboot-c95ea3f2cb7b9aaf64d8b2d7ede13783191e0b73.tar.gz |
crossystem: add functions to read and write VBNV via flashrom
This will replace the usage of "mosys nvram vboot {read,write}" on x86
platforms, and all ARM platforms except veyron (chromebooks only) and
nyan_kitty (which use VBNV storage in the ChromeOS EC, deprecated for
new platforms). These affected ARM devices will be going AUE sometime
this summer, and we can expect to remove the mosys usage in crossystem
later this year.
The code to find the active VBNV in SPI flash was modeled to match the
logic in mosys (see mosys/lib/vbnv/vbnv_flash.c).
BUG=chromium:1032351,chromium:1030473,chromium:789276
BRANCH=none
TEST=provided unit tests
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Change-Id: I4f42af2f9a6b0703302635f8d8ebb2d7599d9847
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2218889
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -711,6 +711,7 @@ TEST2X_NAMES = \ tests/vb2_gbb_tests \ tests/vb2_host_flashrom_tests \ tests/vb2_host_key_tests \ + tests/vb2_host_nvdata_flashrom_tests \ tests/vb2_kernel_tests \ tests/vb2_misc_tests \ tests/vb2_nvstorage_tests \ |