Hello Hung-Te Lin, build bot (Jenkins), Patrick Georgi, Martin Roth, Jonathan Zhang, insomniac, Jingle Hsu, Morgan Jang,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/42029
to look at the new patch set (#6).
Change subject: drivers/vpd: Add a function that reads BIOS version from a VPD variable ......................................................................
drivers/vpd: Add a function that reads BIOS version from a VPD variable
If VPD_SMBIOS_VERSION is selected, it would read VPD_RO variable that can override SMBIOS type 0 version, if the VPD variable is not found it would fallback to use CONFIG_LOCALVERSION, if it's still not set it would use COREBOOT_VERSION.
One special scenario of using this feature is to assign a BIOS version to a coreboot image without re-building from source. VPD_SMBIOS_VERSION default is n.
Tested on OCP Delta Lake, dmidecode -t 0 can see version being updated from VPD.
Change-Id: Iee62ed900095001ffac225fc629b3f2f52045e30 Signed-off-by: Johnny Lin johnny_lin@wiwynn.com --- M src/drivers/vpd/Kconfig M src/drivers/vpd/Makefile.inc A src/drivers/vpd/smbios.c M src/drivers/vpd/vpd.h 4 files changed, 59 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/29/42029/6