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>
This commit is contained in:
parent
a3b79c5063
commit
9048043302
|
@ -14,6 +14,8 @@ enum {
|
|||
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 @@ const char *get_wifi_sar_cbfs_filename(void)
|
|||
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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue