coreboot-kgpe-d16/src/drivers/vpd
Matt DeVillier 8bdb006db5 drivers/vpd: Add support to read device serial from VPD
Add functions to read the system and mainboard serial numbers
from VPD tables stored in flash.

Remove board-specific implementations for google/drallion and
google/sarien and select the new Kconfig instead.

Test: build/boot google/akemi with RO_VPD region persisted from
stock Google firmware, verify system/mainboard serial numbers
present via dmidecode.

Change-Id: I14ae07cd8b764e1e22d58577c7cc697ca1496bd5
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/49050
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2021-01-04 23:12:58 +00:00
..
Kconfig drivers/vpd: Add support to read device serial from VPD 2021-01-04 23:12:58 +00:00
Makefile.inc drivers/vpd: Add support to read device serial from VPD 2021-01-04 23:12:58 +00:00
vpd.c vpd: Add vpd_get_int() function 2020-12-27 15:33:24 +00:00
vpd.h vpd: Add vpd_get_int() function 2020-12-27 15:33:24 +00:00
vpd_decode.c drivers: Use SPDX identifiers 2020-05-25 22:19:21 +00:00
vpd_decode.h drivers: Use SPDX identifiers 2020-05-25 22:19:21 +00:00
vpd_serial.c drivers/vpd: Add support to read device serial from VPD 2021-01-04 23:12:58 +00:00
vpd_tables.h drivers: Use SPDX identifiers 2020-05-25 22:19:21 +00:00