From d402fdff5dd08d0db6136e004ef1ba99a3ea6713 Mon Sep 17 00:00:00 2001 From: Frank Chu Date: Wed, 9 Mar 2022 16:52:04 +0800 Subject: mb/google/dedede/var/galtic: update Wifi SAR for for galnat Add wifi sar for galnat/galnat360 Use 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 Change-Id: I868a7416a002732736cabea48ce80548ea75e517 Reviewed-on: https://review.coreboot.org/c/coreboot/+/62704 Tested-by: build bot (Jenkins) Reviewed-by: Frank Chu Reviewed-by: Ivan Chen Reviewed-by: Karthik Ramasubramanian --- src/mainboard/google/dedede/variants/galtic/variant.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/mainboard/google') diff --git a/src/mainboard/google/dedede/variants/galtic/variant.c b/src/mainboard/google/dedede/variants/galtic/variant.c index 558cba6251..1e62f0c187 100644 --- a/src/mainboard/google/dedede/variants/galtic/variant.c +++ b/src/mainboard/google/dedede/variants/galtic/variant.c @@ -9,12 +9,16 @@ enum { 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 @@ const char *get_wifi_sar_cbfs_filename(void) 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; } -- cgit v1.2.3