diff options
author | Duncan Laurie <dlaurie@google.com> | 2019-03-01 15:33:47 +0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-03-04 14:04:53 +0000 |
commit | 48532ee3c47e964020a7017ece8802b9dae6849d (patch) | |
tree | cbc9c95def9a545fe67c76971dea450b24dc2f4d /src/mainboard/lenovo | |
parent | cf8094cabbe517b2cced84e22a37ca3a8bcc7910 (diff) |
vendorcode/google/chromeos: Add support for reading VPD in ACPI
This ACPI device presents an interface that allows other ACPI devices
or methods to read VPD strings. The VPDF() method is provided the
VPD partition to look in, and the name of the VPD key to find and it
will return the VPD string if it exists.
For example: VPD.VPDF ("RO", "serial_number")
BUG=b:123925776
TEST=this was tested on a sarien platform by adding ACPI code that
searches for a VPD key and returns the value it finds, and then setting
that VPD string from the OS with the Chrome OS 'vpd' utility to ensure
the ACPI method returns the correct value.
Change-Id: I4668f66d7f7f364ac8c3b064d406b24135abb0f6
Signed-off-by: Duncan Laurie <dlaurie@google.com>
Reviewed-on: https://review.coreboot.org/c/31668
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Lijian Zhao <lijian.zhao@intel.com>
Diffstat (limited to 'src/mainboard/lenovo')
0 files changed, 0 insertions, 0 deletions