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>
This commit is contained in:
Amanda Huang 2020-10-22 10:31:39 +08:00 committed by Patrick Georgi
parent fc66ab6959
commit cbcd8a02fc
1 changed files with 2 additions and 2 deletions

View File

@ -5,11 +5,11 @@
#include <ec/google/chromeec/ec.h> #include <ec/google/chromeec/ec.h>
#include <sar.h> #include <sar.h>
#define LTE_SKU 4 #define MIN_LTE_SKU 4
static bool is_lte_sku(void) 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) void variant_smi_sleep(u8 slp_typ)