nsekar@codeaurora.org has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/30714
Change subject: mistral: qcs405: copy calibration data to CBMEM ......................................................................
mistral: qcs405: copy calibration data to CBMEM
This pacth 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 --- M src/mainboard/google/mistral/mainboard.c 1 file changed, 5 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/14/30714/1
diff --git a/src/mainboard/google/mistral/mainboard.c b/src/mainboard/google/mistral/mainboard.c index f4fc31e..3605fba 100644 --- a/src/mainboard/google/mistral/mainboard.c +++ b/src/mainboard/google/mistral/mainboard.c @@ -17,6 +17,7 @@ #include <bootblock_common.h> #include <timestamp.h> #include <soc/usb.h> +#include <vendorcode/google/chromeos/chromeos.h>
#if 0 static struct usb_board_data usb0_board_data = { @@ -46,6 +47,10 @@ static void mainboard_init(device_t dev) { setup_usb(); + if (IS_ENABLED(CONFIG_CHROMEOS)) { + /* Copy WIFI calibration data into CBMEM. */ + cbmem_add_vpd_calibration_data(); + } }
static void mainboard_enable(device_t dev)
Patrick Georgi has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/30714 )
Change subject: mistral: qcs405: copy calibration data to CBMEM ......................................................................
Patch Set 14: Code-Review+1
(1 comment)
https://review.coreboot.org/#/c/30714/14/src/mainboard/google/mistral/mainbo... File src/mainboard/google/mistral/mainboard.c:
https://review.coreboot.org/#/c/30714/14/src/mainboard/google/mistral/mainbo... PS14, Line 23: IS_ENABLED(CONFIG_CHROMEOS that's CONFIG(CHROMEOS) now
Patrick Georgi has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/30714 )
Change subject: mistral: qcs405: copy calibration data to CBMEM ......................................................................
Patch Set 14:
(1 comment)
https://review.coreboot.org/#/c/30714/14//COMMIT_MSG Commit Message:
https://review.coreboot.org/#/c/30714/14//COMMIT_MSG@9 PS14, Line 9: This pacth adds support to copy the wifi calibration "patch"
Hello build bot (Jenkins), Patrick Georgi,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/30714
to look at the new patch set (#15).
Change subject: mistral: qcs405: copy calibration data to CBMEM ......................................................................
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 --- M src/mainboard/google/mistral/mainboard.c 1 file changed, 5 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/14/30714/15
Patrick Georgi has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/30714 )
Change subject: mistral: qcs405: copy calibration data to CBMEM ......................................................................
Patch Set 15: Code-Review+2
Patrick Georgi has submitted this change and it was merged. ( https://review.coreboot.org/c/coreboot/+/30714 )
Change subject: mistral: qcs405: copy calibration data to CBMEM ......................................................................
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(-)
Approvals: build bot (Jenkins): Verified Patrick Georgi: Looks good to me, approved
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)