[coreboot-gerrit] Patch set updated for coreboot: 13c0d9f storm: copy WiFi calibration data in the CBMEM
Patrick Georgi (pgeorgi@google.com)
gerrit at coreboot.org
Fri Apr 10 17:27:04 CEST 2015
Patrick Georgi (pgeorgi at google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/9543
-gerrit
commit 13c0d9f49cd9a4ea62b427fc01519161cd0db9f9
Author: Vadim Bendebury <vbendeb at chromium.org>
Date: Thu Oct 23 16:03:29 2014 -0700
storm: copy WiFi calibration data in the CBMEM
Invoke the function which copies WiFi calibration data in a CBMEM
table.
BRANCH=storm
BUG=chrome-os-partner:32611
TEST=verified that the WIFI entry is added to CBMEM when the
calibration data is present in the VPD.
Change-Id: Icab0a2343e88e1d44575eeb608fdf6588aff255b
Signed-off-by: Patrick Georgi <pgeorgi at chromium.org>
Original-Commit-Id: 68b96f158633cb3a1f157b5a19da39fa7e78f975
Original-Change-Id: I5fa77da98e37b88da01fb7884e713535fc178006
Original-Signed-off-by: Vadim Bendebury <vbendeb at chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/225272
Original-Reviewed-by: Aaron Durbin <adurbin at chromium.org>
---
src/mainboard/google/storm/mainboard.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/mainboard/google/storm/mainboard.c b/src/mainboard/google/storm/mainboard.c
index 32be579..f1c36a8 100644
--- a/src/mainboard/google/storm/mainboard.c
+++ b/src/mainboard/google/storm/mainboard.c
@@ -29,6 +29,8 @@
#include <string.h>
#include <symbols.h>
+#include <vendorcode/google/chromeos/chromeos.h>
+
/* convenient shorthand (in MB) */
#define DRAM_START ((uintptr_t)_dram / MiB)
#define DRAM_SIZE (CONFIG_DRAM_SIZE_MB)
@@ -116,6 +118,11 @@ static void mainboard_init(device_t dev)
setup_tpm();
/* Functionally a 0-cost no-op if NAND is not present */
board_nand_init();
+
+#if IS_ENABLED(CONFIG_CHROMEOS)
+ /* Copy WIFI calibration data into CBMEM. */
+ cbmem_add_vpd_calibration_data();
+#endif
}
static void mainboard_enable(device_t dev)
More information about the coreboot-gerrit
mailing list