diff options
author | Kevin Chiu <kevin.chiu@quanta.corp-partner.google.com> | 2020-10-30 18:00:51 +0800 |
---|---|---|
committer | Furquan Shaikh <furquan@google.com> | 2020-11-06 03:11:59 +0000 |
commit | 0cae9008f01af3cd89dad317d42292c04b53bb51 (patch) | |
tree | 8184432f20910c0245161fa4637a18e50e98c714 /src/mainboard/google/octopus/variants | |
parent | d83e24d9d562bf9697a3fb8b02736e09d5cdafb0 (diff) | |
download | coreboot-0cae9008f01af3cd89dad317d42292c04b53bb51.tar.xz |
mb/google/octopus/variants/garg: Add new LTE SKU
Add new SKU definition:
Garg360 (LTE DB,1A2C,TS, no stylus, rear camera) SKU ID - 39
BUG=b:170708728
BRANCH=octopus
TEST=emerge-octopus coreboot chromeos-bootimage
Change-Id: Ifec4e1360bd1aff3825bc6413b0a2ccd8b822075
Signed-off-by: Kevin Chiu <kevin.chiu@quantatw.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/47015
Reviewed-by: Marco Chen <marcochen@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/octopus/variants')
3 files changed, 4 insertions, 0 deletions
diff --git a/src/mainboard/google/octopus/variants/garg/gpio.c b/src/mainboard/google/octopus/variants/garg/gpio.c index 67e105649a..d7affc7234 100644 --- a/src/mainboard/google/octopus/variants/garg/gpio.c +++ b/src/mainboard/google/octopus/variants/garg/gpio.c @@ -71,6 +71,7 @@ const struct pad_config *variant_override_gpio_table(size_t *num) return hdmi_override_table; case SKU_17_LTE: case SKU_18_LTE_TS: + case SKU_39_1A2C_360_LTE_TS_NO_STYLUES: *num = ARRAY_SIZE(lte_override_table); return lte_override_table; default: diff --git a/src/mainboard/google/octopus/variants/garg/include/variant/sku.h b/src/mainboard/google/octopus/variants/garg/include/variant/sku.h index 8fc63cca21..96e9c5301d 100644 --- a/src/mainboard/google/octopus/variants/garg/include/variant/sku.h +++ b/src/mainboard/google/octopus/variants/garg/include/variant/sku.h @@ -12,6 +12,7 @@ enum { SKU_20_2A2C_TS = 20, SKU_37_2A2C_360 = 37, SKU_38_2A2C_360_TS_NO_STYLUES = 38, + SKU_39_1A2C_360_LTE_TS_NO_STYLUES = 39, SKU_49_2A2C_TS = 49, SKU_50_HDMI = 50, SKU_51_2A2C = 51, diff --git a/src/mainboard/google/octopus/variants/garg/variant.c b/src/mainboard/google/octopus/variants/garg/variant.c index 0a6574d1a6..00e5d326e1 100644 --- a/src/mainboard/google/octopus/variants/garg/variant.c +++ b/src/mainboard/google/octopus/variants/garg/variant.c @@ -37,6 +37,7 @@ void variant_smi_sleep(u8 slp_typ) switch (google_chromeec_get_board_sku()) { case SKU_17_LTE: case SKU_18_LTE_TS: + case SKU_39_1A2C_360_LTE_TS_NO_STYLUES: power_off_lte_module(); return; default: @@ -54,6 +55,7 @@ void variant_update_devtree(struct device *dev) switch (google_chromeec_get_board_sku()) { case SKU_17_LTE: case SKU_18_LTE_TS: + case SKU_39_1A2C_360_LTE_TS_NO_STYLUES: cfg->disable_xhci_lfps_pm = 1; return; default: |