diff options
author | Amanda Huang <amanda_hwang@compal.corp-partner.google.com> | 2020-10-22 10:31:39 +0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-10-26 06:45:13 +0000 |
commit | cbcd8a02fc8d5c251ef61a681d6e6cfa0c9a8965 (patch) | |
tree | 4000fd462b19d603ba18ef6ea17cc8eb84e9ceea | |
parent | fc66ab6959e7c9d9b8edc87d39a05f6a5103d2ef (diff) |
mb/google/octopus/var/fleex: Add new SKU for LTE touch
New SKU ID 5 is used for LTE touch SKU. This patch does LTE power off
for LTE sku and only use Wifi SAR table for non-LTE sku.
BUG=b:168001586
BRANCH=octopus
TEST=Check no SAR table can be loaded with sku id 4 and 5.
Change-Id: Ic0405d3e52aa813bbb1f350966a9e2825e595ce4
Signed-off-by: Amanda Huang <amanda_hwang@compal.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/46643
Reviewed-by: EricR Lai <ericr_lai@compal.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r-- | src/mainboard/google/octopus/variants/fleex/variant.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/google/octopus/variants/fleex/variant.c b/src/mainboard/google/octopus/variants/fleex/variant.c index f1ec818bb3..522faa9d7b 100644 --- a/src/mainboard/google/octopus/variants/fleex/variant.c +++ b/src/mainboard/google/octopus/variants/fleex/variant.c @@ -5,11 +5,11 @@ #include <ec/google/chromeec/ec.h> #include <sar.h> -#define LTE_SKU 4 +#define MIN_LTE_SKU 4 static bool is_lte_sku(void) { - return (google_chromeec_get_board_sku() == LTE_SKU); + return (google_chromeec_get_board_sku() >= MIN_LTE_SKU); } void variant_smi_sleep(u8 slp_typ) |