forked from Minki/linux
049a59db34
This patch introduces the Google Vital Product Data driver. This driver reads Vital Product Data from coreboot tables and then creates the corresponding sysfs entries under /sys/firmware/vpd to provide easy access for userspace programs (does not require flashrom). The sysfs is structured as follow: /sys/firmware/vpd |-- ro | |-- key1 | `-- key2 |-- ro_raw |-- rw | `-- key1 `-- rw_raw Where ro_raw and rw_raw contain the raw VPD partition. The files under ro and rw correspond to the key name in the VPD and the the file content is the value for the key. Signed-off-by: Wei-Ning Huang <wnhuang@google.com> Signed-off-by: Thierry Escande <thierry.escande@collabora.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 lines
507 B
Makefile
12 lines
507 B
Makefile
|
|
obj-$(CONFIG_GOOGLE_SMI) += gsmi.o
|
|
obj-$(CONFIG_GOOGLE_COREBOOT_TABLE) += coreboot_table.o
|
|
obj-$(CONFIG_GOOGLE_COREBOOT_TABLE_ACPI) += coreboot_table-acpi.o
|
|
obj-$(CONFIG_GOOGLE_COREBOOT_TABLE_OF) += coreboot_table-of.o
|
|
obj-$(CONFIG_GOOGLE_MEMCONSOLE) += memconsole.o
|
|
obj-$(CONFIG_GOOGLE_MEMCONSOLE_COREBOOT) += memconsole-coreboot.o
|
|
obj-$(CONFIG_GOOGLE_MEMCONSOLE_X86_LEGACY) += memconsole-x86-legacy.o
|
|
|
|
vpd-sysfs-y := vpd.o vpd_decode.o
|
|
obj-$(CONFIG_GOOGLE_VPD) += vpd-sysfs.o
|