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 <tony-huang@quanta.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/35097
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
This commit is contained in:
Tony Huang 2019-08-26 19:28:38 +08:00 committed by Patrick Georgi
parent f839052fe7
commit d059bae29d
1 changed files with 3 additions and 0 deletions

View File

@ -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";