2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 04:03:58 +08:00
linux-next/drivers/firmware/google
Wei-Ning Huang ad2ac9d5c5 firmware: Google VPD: import lib_vpd source files
This patch imports lib_vpd.h and vpd_decode.c from the Chromium Vital
Product Data project.

This library is used to parse VPD sections obtained from coreboot table
entries describing Chromebook devices product data. Only the sections of
type VPD_TYPE_STRING are decoded.

The VPD string sections in the coreboot tables contain the type (1 byte
set to 0x01 for strings), the key length, the key ascii array, the value
length, and the value ascii array. The key and value arrays are not null
terminated.

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>
2017-04-18 18:04:45 +02:00
..
coreboot_table-acpi.c firmware: google memconsole: Add coreboot support 2017-04-08 18:05:36 +02:00
coreboot_table-of.c firmware: google memconsole: Add ARM/ARM64 support 2017-04-08 18:05:36 +02:00
coreboot_table.c firmware: google memconsole: Add coreboot support 2017-04-08 18:05:36 +02:00
coreboot_table.h firmware: google memconsole: Add coreboot support 2017-04-08 18:05:36 +02:00
gsmi.c firmware-gsmi: Delete an unnecessary check before the function call "dma_pool_destroy" 2016-09-09 16:08:45 +01:00
Kconfig firmware: google memconsole: Add ARM/ARM64 support 2017-04-08 18:05:36 +02:00
Makefile firmware: google memconsole: Add ARM/ARM64 support 2017-04-08 18:05:36 +02:00
memconsole-coreboot.c firmware: google memconsole: Add coreboot support 2017-04-08 18:05:36 +02:00
memconsole-x86-legacy.c firmware: google memconsole: Move specific EBDA parts 2017-04-08 18:05:36 +02:00
memconsole.c firmware: google memconsole: Move specific EBDA parts 2017-04-08 18:05:36 +02:00
memconsole.h firmware: google memconsole: Move specific EBDA parts 2017-04-08 18:05:36 +02:00
vpd_decode.c firmware: Google VPD: import lib_vpd source files 2017-04-18 18:04:45 +02:00
vpd_decode.h firmware: Google VPD: import lib_vpd source files 2017-04-18 18:04:45 +02:00