[coreboot-gerrit] New patch to review for coreboot: 90a7832 storm: copy WiFi calibration data in the CBMEM
Patrick Georgi (pgeorgi@google.com)
gerrit at coreboot.org
Fri Apr 10 17:15:27 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 90a783208884d0ad39cd7fec2bbc4f9ed1e956e5
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 | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/mainboard/google/storm/mainboard.c b/src/mainboard/google/storm/mainboard.c
index 32be579..90339ea 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,9 @@ static void mainboard_init(device_t dev)
setup_tpm();
/* Functionally a 0-cost no-op if NAND is not present */
board_nand_init();
+
+ /* Copy WIFI calibration data into CBMEM. */
+ cbmem_add_vpd_calibration_data();
}
static void mainboard_enable(device_t dev)
More information about the coreboot-gerrit
mailing list