From ed840023a84915ece4bc63edffef979926107d55 Mon Sep 17 00:00:00 2001 From: Robbie Zhang Date: Fri, 23 Dec 2016 11:43:07 -0800 Subject: chromeos: Implement locating and decoding wifi sar data from VPD A VPD entry "wifi_sar" needs to be created which contains a heximal encoded string in length of 40 bytes. get_wifi_sar_limits() function retrieves and decodes the data from the VPD entry, which would later be consumed by platform code. BUG=chrome-os-partner:60821 TEST=Build and boot lars and reef Change-Id: I923b58a63dc1f8a7fdd685cf1c618b2fdf4e7061 Signed-off-by: Robbie Zhang Reviewed-on: https://review.coreboot.org/17958 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- src/vendorcode/google/chromeos/cros_vpd.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/vendorcode/google/chromeos/cros_vpd.h') diff --git a/src/vendorcode/google/chromeos/cros_vpd.h b/src/vendorcode/google/chromeos/cros_vpd.h index 96ca8af329..1fa56a4725 100644 --- a/src/vendorcode/google/chromeos/cros_vpd.h +++ b/src/vendorcode/google/chromeos/cros_vpd.h @@ -8,6 +8,7 @@ #define __CROS_VPD_H__ #define CROS_VPD_REGION_NAME "region" +#define CROS_VPD_WIFI_SAR_NAME "wifi_sar" /* * Reads VPD string value by key. -- cgit v1.2.3