Tyler Wang has uploaded this change for review. ( 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: TEST= emerge-dedede coreboot
Signed-off-by: Tyler Wang tyler.wang@quanta.corp-partner.google.com Change-Id: I77f141372ba8e7b8f5849b00e115ad8bb1e7ca00 --- M src/mainboard/google/dedede/variants/magolor/variant.c 1 file changed, 4 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/38/61438/1
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; }