Frank Chu has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/62704 )
Change subject: mb/google/dedede/var/galtic: update Wifi SAR for convertibles(revise) ......................................................................
mb/google/dedede/var/galtic: update Wifi SAR for convertibles(revise)
Add wifi sar for galnat/galnat360 Using convertible mode of SKU ID to load wifi table.
Each Project and SKU ID correspond as below galtic (sku id:0x120000) galith (sku id:0x130000) galnat (sku id:0x140000)* gallop (sku id:0x150000) galtic360 (sku id:0x260000) galith360 (sku id:0x270000) galnat360 (sku id:0x2B0000)*
BUG=b:222008376 TEST=emerge-dedede coreboot chromeos-bootimage \ coreboot-private-files-baseboard-dedede verify the SAR table is correct in each project
Signed-off-by: Frank Chu Frank_Chu@pegatron.corp-partner.google.com Change-Id: I868a7416a002732736cabea48ce80548ea75e517 --- M src/mainboard/google/dedede/variants/galtic/variant.c 1 file changed, 8 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/04/62704/1
diff --git a/src/mainboard/google/dedede/variants/galtic/variant.c b/src/mainboard/google/dedede/variants/galtic/variant.c index 558cba6..1e62f0c 100644 --- a/src/mainboard/google/dedede/variants/galtic/variant.c +++ b/src/mainboard/google/dedede/variants/galtic/variant.c @@ -9,12 +9,16 @@ GALTIC_SKU_END = 0x12ffff, GALITH_SKU_START = 0x130000, GALITH_SKU_END = 0x13ffff, + GALNAT_SKU_START = 0x140000, + GALNAT_SKU_END = 0x14ffff, GALLOP_SKU_START = 0x150000, GALLOP_SKU_END = 0x15ffff, GALTIC360_SKU_START = 0x260000, GALTIC360_SKU_END = 0x26ffff, GALITH360_SKU_START = 0x270000, GALITH360_SKU_END = 0x27ffff, + GALNAT360_SKU_START = 0x2B0000, + GALNAT360_SKU_END = 0x2Bffff, }; const char *get_wifi_sar_cbfs_filename(void) { @@ -22,10 +26,14 @@
if (sku_id >= GALTIC_SKU_START && sku_id <= GALTIC_SKU_END) return "wifi_sar-galtic.hex"; + if (sku_id >= GALNAT_SKU_START && sku_id <= GALNAT_SKU_END) + return "wifi_sar-galnat.hex"; if (sku_id >= GALTIC360_SKU_START && sku_id <= GALTIC360_SKU_END) return "wifi_sar-galtic360.hex"; if (sku_id >= GALITH360_SKU_START && sku_id <= GALITH360_SKU_END) return "wifi_sar-galith360.hex"; + if (sku_id >= GALNAT360_SKU_START && sku_id <= GALNAT360_SKU_END) + return "wifi_sar-galnat360.hex";
return WIFI_SAR_CBFS_DEFAULT_FILENAME; }