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 <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/225272
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
Vadim Bendebury 2014-10-23 16:03:29 -07:00 committed by chrome-internal-fetch
commit 68b96f1586

View file

@ -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)
@ -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)