summaryrefslogtreecommitdiff
path: root/src/vendorcode/google/chromeos/cros_vpd.h
diff options
context:
space:
mode:
authorRobbie Zhang <robbie.zhang@intel.com>2016-12-23 11:43:07 -0800
committerMartin Roth <martinroth@google.com>2017-01-09 18:16:10 +0100
commited840023a84915ece4bc63edffef979926107d55 (patch)
tree8a5c362b16aba0a47273bc35a802e93bb4e07c1c /src/vendorcode/google/chromeos/cros_vpd.h
parent23ceb7d240a16427d07746cc3c6b06a8418c9a1e (diff)
downloadcoreboot-ed840023a84915ece4bc63edffef979926107d55.tar.xz
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 <robbie.zhang@intel.com> Reviewed-on: https://review.coreboot.org/17958 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/vendorcode/google/chromeos/cros_vpd.h')
-rw-r--r--src/vendorcode/google/chromeos/cros_vpd.h1
1 files changed, 1 insertions, 0 deletions
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.