Patrick Georgi merged this change.

View Change

Approvals: build bot (Jenkins): Verified Patrick Georgi: Looks good to me, approved
mistral: qcs405: copy calibration data to CBMEM

This patch adds support to copy the wifi calibration
data to CBMEM so that the depthcharge can use it to
populate the data into wifi dt node.

Change-Id: Ia8184e48a7176bb3b52e4d43866b7d065952c13e
Signed-off-by: Nitheesh Sekar <nsekar@codeaurora.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/30714
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
---
M src/mainboard/google/mistral/mainboard.c
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/mainboard/google/mistral/mainboard.c b/src/mainboard/google/mistral/mainboard.c
index 568d486..b45657f 100644
--- a/src/mainboard/google/mistral/mainboard.c
+++ b/src/mainboard/google/mistral/mainboard.c
@@ -16,10 +16,14 @@
#include <device/device.h>
#include <bootblock_common.h>
#include <timestamp.h>
+#include <vendorcode/google/chromeos/chromeos.h>

static void mainboard_init(struct device *dev)
{
-
+ if (CONFIG(CHROMEOS)) {
+ /* Copy WIFI calibration data into CBMEM. */
+ cbmem_add_vpd_calibration_data();
+ }
}

static void mainboard_enable(struct device *dev)

To view, visit change 30714. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ia8184e48a7176bb3b52e4d43866b7d065952c13e
Gerrit-Change-Number: 30714
Gerrit-PatchSet: 16
Gerrit-Owner: nsekar@codeaurora.org
Gerrit-Reviewer: Patrick Georgi <pgeorgi@google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter@users.sourceforge.net>
Gerrit-MessageType: merged