diff options
author | Wisley Chen <wisley.chen@quantatw.com> | 2019-08-26 15:42:26 +0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-09-05 15:00:14 +0000 |
commit | 66922d05d7e641d2dafc8ff1c5911491fa9ba1ed (patch) | |
tree | d49ad6316d3701f43223893b8ee21b4b6d390428 | |
parent | 131768906698d8a452c8ededb2c36fa28f2c1ef9 (diff) |
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>
-rw-r--r-- | src/mainboard/google/octopus/variants/meep/include/variant/sku.h | 3 | ||||
-rw-r--r-- | src/mainboard/google/octopus/variants/meep/variant.c | 5 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/mainboard/google/octopus/variants/meep/include/variant/sku.h b/src/mainboard/google/octopus/variants/meep/include/variant/sku.h index 5656d379b3..41cd49059a 100644 --- a/src/mainboard/google/octopus/variants/meep/include/variant/sku.h +++ b/src/mainboard/google/octopus/variants/meep/include/variant/sku.h @@ -17,6 +17,9 @@ #define __MAINBOARD_SKU_H__ enum { + SKU_1_MEEP = 1, + SKU_2_MEEP = 2, + SKU_3_MEEP = 3, SKU_33_DORP = 33, /* HDMI */ SKU_34_DORP = 34, /* HDMI+Kblight */ SKU_35_DORP = 35, /* HDMI+TS */ diff --git a/src/mainboard/google/octopus/variants/meep/variant.c b/src/mainboard/google/octopus/variants/meep/variant.c index fc34888284..5b924d260f 100644 --- a/src/mainboard/google/octopus/variants/meep/variant.c +++ b/src/mainboard/google/octopus/variants/meep/variant.c @@ -25,6 +25,11 @@ const char *get_wifi_sar_cbfs_filename(void) uint32_t sku_id = get_board_sku(); 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_50_VORTININJA: case SKU_51_VORTININJA: |