From 66922d05d7e641d2dafc8ff1c5911491fa9ba1ed Mon Sep 17 00:00:00 2001 From: Wisley Chen Date: Mon, 26 Aug 2019 15:42:26 +0800 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/35211 Reviewed-by: Furquan Shaikh Tested-by: build bot (Jenkins) --- src/mainboard/google/octopus/variants/meep/include/variant/sku.h | 3 +++ src/mainboard/google/octopus/variants/meep/variant.c | 5 +++++ 2 files changed, 8 insertions(+) (limited to 'src/mainboard') 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: -- cgit v1.2.3