8bdb006db5
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>
26 lines
566 B
Text
26 lines
566 B
Text
## SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
config VPD
|
|
bool "Support for Vital Product Data tables"
|
|
default n
|
|
help
|
|
Enable support for flash based vital product data.
|
|
|
|
config VPD_FMAP_NAME
|
|
string
|
|
depends on VPD
|
|
default "RO_VPD"
|
|
help
|
|
Name of the FMAP region created in the default FMAP to store VPD tables.
|
|
|
|
config VPD_FMAP_SIZE
|
|
hex
|
|
depends on VPD
|
|
default 0x4000
|
|
help
|
|
Size in bytes of the FMAP region created to store VPD tables.
|
|
|
|
config SMBIOS_SERIAL_FROM_VPD
|
|
bool "Load device serial from VPD"
|
|
depends on VPD && GENERATE_SMBIOS_TABLES
|
|
default n
|