mb/google/octopus: Set sar file name for meep sku

Set meep sar file name by sku number

Cq-Depend: chromium:1768380
BUG=b:138261454, b:118782854
BRANCH=octopus
TEST=emerge-octopus coreboot, and check wifi_sar-meep.hex

Change-Id: I25aa3080392ce277e537c973088dde569246630e
Signed-off-by: Wisley Chen <wisley.chen@quantatw.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/35211
Reviewed-by: Furquan Shaikh <furquan@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Wisley Chen 2019-08-26 15:42:26 +08:00 committed by Patrick Georgi
parent 1317689066
commit 66922d05d7
2 changed files with 8 additions and 0 deletions

View File

@ -17,6 +17,9 @@
#define __MAINBOARD_SKU_H__ #define __MAINBOARD_SKU_H__
enum { enum {
SKU_1_MEEP = 1,
SKU_2_MEEP = 2,
SKU_3_MEEP = 3,
SKU_33_DORP = 33, /* HDMI */ SKU_33_DORP = 33, /* HDMI */
SKU_34_DORP = 34, /* HDMI+Kblight */ SKU_34_DORP = 34, /* HDMI+Kblight */
SKU_35_DORP = 35, /* HDMI+TS */ SKU_35_DORP = 35, /* HDMI+TS */

View File

@ -25,6 +25,11 @@ const char *get_wifi_sar_cbfs_filename(void)
uint32_t sku_id = get_board_sku(); uint32_t sku_id = get_board_sku();
switch (sku_id) { switch (sku_id) {
case SKU_1_MEEP:
case SKU_2_MEEP:
case SKU_3_MEEP:
filename = "wifi_sar-meep.hex";
break;
case SKU_49_VORTININJA: case SKU_49_VORTININJA:
case SKU_50_VORTININJA: case SKU_50_VORTININJA:
case SKU_51_VORTININJA: case SKU_51_VORTININJA: