summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWisley Chen <wisley.chen@quantatw.com>2019-08-26 15:42:26 +0800
committerPatrick Georgi <pgeorgi@google.com>2019-09-05 15:00:14 +0000
commit66922d05d7e641d2dafc8ff1c5911491fa9ba1ed (patch)
treed49ad6316d3701f43223893b8ee21b4b6d390428 /src
parent131768906698d8a452c8ededb2c36fa28f2c1ef9 (diff)
downloadcoreboot-66922d05d7e641d2dafc8ff1c5911491fa9ba1ed.tar.xz
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>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/octopus/variants/meep/include/variant/sku.h3
-rw-r--r--src/mainboard/google/octopus/variants/meep/variant.c5
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: