From d059bae29dc6701449badcb90efdffe632d40a0d Mon Sep 17 00:00:00 2001 From: Tony Huang Date: Mon, 26 Aug 2019 19:28:38 +0800 Subject: [PATCH] mb/google/octopus: Load custom SAR values by SKU ID for Bloog Use sku-id to load the SAR values for Bloog device. BUG=b:138180187 BRANCH=octopus TEST=build and verify load Bloog SAR by sku-id Cq-Depend: chromium:1771477 Change-Id: Id0bc2609fd1c4eaeb380f8f1532ab30d34e2aeb3 Signed-off-by: Tony Huang Reviewed-on: https://review.coreboot.org/c/coreboot/+/35097 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh --- src/mainboard/google/octopus/variants/bloog/variant.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mainboard/google/octopus/variants/bloog/variant.c b/src/mainboard/google/octopus/variants/bloog/variant.c index 58b3bc4cd2..6484080d41 100644 --- a/src/mainboard/google/octopus/variants/bloog/variant.c +++ b/src/mainboard/google/octopus/variants/bloog/variant.c @@ -29,6 +29,9 @@ const char *get_wifi_sar_cbfs_filename(void) if (sku_id == SKU_UNKNOWN) return NULL; + if (sku_id == 33 || sku_id == 34 || sku_id == 35 || sku_id == 36) + filename = "wifi_sar-bloog.hex"; + if (sku_id == 49 || sku_id == 50 || sku_id == 51 || sku_id == 52) filename = "wifi_sar-blooguard.hex";