Felix Held has submitted this change. ( https://review.coreboot.org/c/coreboot/+/61438 )
Change subject: mb/google/dedede/var/magolor: Add custom Wifi SAR for magneto ......................................................................
mb/google/dedede/var/magolor: Add custom Wifi SAR for magneto
Add wifi sar for magneto. Due to fw-config cannot distinguish between magolor and magneto. Using sku_id to decide to load magneto custom wifi sar.
BUG=b:208261420 TEST= emerge-dedede coreboot
Signed-off-by: Tyler Wang tyler.wang@quanta.corp-partner.google.com Change-Id: I77f141372ba8e7b8f5849b00e115ad8bb1e7ca00 Reviewed-on: https://review.coreboot.org/c/coreboot/+/61438 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Shou-Chieh Hsu shouchieh@google.com Reviewed-by: Henry Sun henrysun@google.com Reviewed-by: Karthik Ramasubramanian kramasub@google.com Reviewed-by: David Wu david_wu@quanta.corp-partner.google.com --- M src/mainboard/google/dedede/variants/magolor/variant.c 1 file changed, 4 insertions(+), 0 deletions(-)
Approvals: build bot (Jenkins): Verified David Wu: Looks good to me, approved Karthik Ramasubramanian: Looks good to me, approved Henry Sun: Looks good to me, but someone else must approve Shou-Chieh Hsu: Looks good to me, but someone else must approve
diff --git a/src/mainboard/google/dedede/variants/magolor/variant.c b/src/mainboard/google/dedede/variants/magolor/variant.c index 39a197a..33c428c 100644 --- a/src/mainboard/google/dedede/variants/magolor/variant.c +++ b/src/mainboard/google/dedede/variants/magolor/variant.c @@ -14,6 +14,8 @@ MAGISTER_SKU_END = 0xcffff, MAGMA_SKU_START = 0xd0000, MAGMA_SKU_END = 0xdffff, + MAGNETO_SKU_START = 0x110000, + MAGNETO_SKU_END = 0x11ffff, };
const char *get_wifi_sar_cbfs_filename(void) @@ -26,6 +28,8 @@ return "wifi_sar-magister.hex"; if (sku_id >= MAGMA_SKU_START && sku_id <= MAGMA_SKU_END) return "wifi_sar-magma.hex"; + if (sku_id >= MAGNETO_SKU_START && sku_id <= MAGNETO_SKU_END) + return "wifi_sar-magneto.hex";
return WIFI_SAR_CBFS_DEFAULT_FILENAME; }