Hi, This patchset adds support for accessing Google Vital Product Data (VPD) through the sysfs interface under /sys/firmware/vpd.
This patchset contains the VPD decoding routines read from coreboot table entries and the driver responsible for creating the sysfs interface. This patchset depends on [1] for coreboot support in the Google memory console. This v2 fixes style issues reported by 'checkpatch --strict', adds the vpd_ prefix to a few function names, and removes the EXPORT_SYMBOL for vpd_decode_string(). Regards, Thierry [1] https://lkml.org/lkml/2017/3/28/902 Wei-Ning Huang (2): firmware: Google Vital Product Data: import lib_vpd source files firmware: Google VPD sysfs driver drivers/firmware/google/Kconfig | 7 + drivers/firmware/google/Makefile | 3 + drivers/firmware/google/vpd.c | 333 +++++++++++++++++++++++++++++++++++ drivers/firmware/google/vpd_decode.c | 102 +++++++++++ drivers/firmware/google/vpd_decode.h | 59 +++++++ 5 files changed, 504 insertions(+) create mode 100644 drivers/firmware/google/vpd.c create mode 100644 drivers/firmware/google/vpd_decode.c create mode 100644 drivers/firmware/google/vpd_decode.h -- 2.7.4