vendorcode: Add ChromeOS VPD parser

Hardware / Coreboot - Hung-Te Lin [chromium.org] - 7 October 2014 16:37 UTC

Copied (and unmodified) the minimal bits from ChromeOS libVPD: https://chromium.googlesource.com/chromiumos/platform/vpd

Old-Change-Id: Id75d1bfd16263ac1b94c22979f9892cf7908d5e6

6eaaafa vendorcode: Add ChromeOS VPD parser.
src/vendorcode/google/chromeos/Makefile.inc | 2 +
src/vendorcode/google/chromeos/cros_vpd.c | 140 +++++++++++++++++
src/vendorcode/google/chromeos/cros_vpd.h | 21 +++
src/vendorcode/google/chromeos/lib_vpd.h | 226 +++++++++++++++++++++++++++
src/vendorcode/google/chromeos/vpd_decode.c | 89 +++++++++++
src/vendorcode/google/chromeos/vpd_tables.h | 114 ++++++++++++++
6 files changed, 592 insertions(+)

Upstream: review.coreboot.org


  • Share