Hello Andrey Petrov, Patrick Rudolph, Łukasz Siudut, Paul Menzel, Hung-Te Lin, build bot (Jenkins), Patrick Georgi, Huang Jin, David Hendricks, Philipp Deppenwiese, Nico Huber, Martin Roth,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/34634
to look at the new patch set (#8).
Change subject: drivers/vpd: add framework to search VPD in romstage ......................................................................
drivers/vpd: add framework to search VPD in romstage
Summary: Added a framework to search VPD in romstage. Refactored common code out from the framework of searching VPD in ramstage.
Given a key/value pair in VPD binary blob, and name of a bool type variable, set the variable value if there is a match.
Several checks are in place: * The key/value length needs to be correct. * The key name needs to match. * THe value is either '1' or '0'.
Test Plan: * Build an OCP MonoLake coreboot image, flash and run.
Tags: Signed-off-by: Jonathan Zhang jonzhang@fb.com Change-Id: Iebdba59419a555147fc40391cf17cc6879d9e1b2 --- M src/drivers/vpd/Makefile.inc M src/drivers/vpd/vpd.c A src/drivers/vpd/vpd_common.c A src/drivers/vpd/vpd_common.h A src/drivers/vpd/vpd_romstage.c A src/drivers/vpd/vpd_romstage.h 6 files changed, 336 insertions(+), 102 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/34/34634/8