mb/google/dedede/var/magolor: Add custom Wifi SAR for magma
Add wifi sar for magma. Due to fw-config cannot distinguish between magolor and magma. Using sku_id to decide to load magma custom wifi sar. BUG=b:192423859 TEST= emerge-dedede coreboot Signed-off-by: Tyler Wang <tyler.wang@quanta.corp-partner.google.com> Change-Id: Iac15e958e61be6e3c136fb9be18b4695823ad1c9 Reviewed-on: https://review.coreboot.org/c/coreboot/+/57690 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org> Reviewed-by: Henry Sun <henrysun@google.com> Reviewed-by: David Wu <david_wu@quanta.corp-partner.google.com> Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
This commit is contained in:
parent
96f26d15ee
commit
245a194efc
|
@ -12,6 +12,8 @@ enum {
|
|||
MAGLIA_SKU_END = 0x8ffff,
|
||||
MAGISTER_SKU_START = 0xc0000,
|
||||
MAGISTER_SKU_END = 0xcffff,
|
||||
MAGMA_SKU_START = 0xd0000,
|
||||
MAGMA_SKU_END = 0xdffff,
|
||||
};
|
||||
|
||||
const char *get_wifi_sar_cbfs_filename(void)
|
||||
|
@ -22,6 +24,8 @@ const char *get_wifi_sar_cbfs_filename(void)
|
|||
return "wifi_sar-magolor.hex";
|
||||
if (sku_id >= MAGISTER_SKU_START && sku_id <= MAGISTER_SKU_END)
|
||||
return "wifi_sar-magister.hex";
|
||||
if (sku_id >= MAGMA_SKU_START && sku_id <= MAGMA_SKU_END)
|
||||
return "wifi_sar-magma.hex";
|
||||
|
||||
return WIFI_SAR_CBFS_DEFAULT_FILENAME;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue