From 68b96f158633cb3a1f157b5a19da39fa7e78f975 Mon Sep 17 00:00:00 2001 From: Vadim Bendebury Date: Thu, 23 Oct 2014 16:03:29 -0700 Subject: [PATCH] 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: I5fa77da98e37b88da01fb7884e713535fc178006 Signed-off-by: Vadim Bendebury Reviewed-on: https://chromium-review.googlesource.com/225272 Reviewed-by: Aaron Durbin --- 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 d7849d8592..d6fcf885ea 100644 --- a/src/mainboard/google/storm/mainboard.c +++ b/src/mainboard/google/storm/mainboard.c @@ -29,6 +29,8 @@ #include #include +#include + /* convenient shorthand (in MB) */ #define DRAM_START ((uintptr_t)_dram / MiB) #define DRAM_SIZE (CONFIG_DRAM_SIZE_MB) @@ -115,6 +117,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)