summaryrefslogtreecommitdiff
path: root/src/mainboard/google/octopus
diff options
context:
space:
mode:
authorKenneth Chan <kenneth.chan@quanta.corp-partner.google.com>2020-02-06 17:14:34 +0800
committerPatrick Georgi <pgeorgi@google.com>2020-02-17 15:41:48 +0000
commit6cf33858b64449ad6e22cd27ec5734a972b8f39e (patch)
tree9504a8e27850e7d220c6eefb5c9872b73e0dca10 /src/mainboard/google/octopus
parent3404247115c1a853a64a01dfa5468aaef289bcf1 (diff)
mb/google/octopus/variants/dood: add two new SKU IDs
add SKU ID 3 and 4 for dood DVT 1: Dood WiFi + LTE (evt) 2: Dood WiFi (evt) 3: Dood WiFi + LTE + dual camera (dvt) 4: Dood WiFi + dual camera (dvt) BUG=b:148988979 TEST=build firmware and verify on the DUT of sku 3 and 4 check LTE module is enabled or not Change-Id: If86efe2a2f7b2e165ad44220b6dd59e9080b5892 Signed-off-by: Kenneth Chan <kenneth.chan@quanta.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/38730 Reviewed-by: Marco Chen <marcochen@google.com> Reviewed-by: Ren Kuo <ren.kuo@quanta.corp-partner.google.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/octopus')
-rw-r--r--src/mainboard/google/octopus/variants/dood/gpio.c3
-rw-r--r--src/mainboard/google/octopus/variants/dood/variant.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/mainboard/google/octopus/variants/dood/gpio.c b/src/mainboard/google/octopus/variants/dood/gpio.c
index 5b567b3691..96b8ac02c7 100644
--- a/src/mainboard/google/octopus/variants/dood/gpio.c
+++ b/src/mainboard/google/octopus/variants/dood/gpio.c
@@ -22,6 +22,8 @@
enum {
SKU_1_LTE = 1, /* Wifi + LTE */
SKU_2_WIFI = 2, /* Wifi */
+ SKU_3_LTE_2CAM = 3, /* Wifi + LTE + dual camera */
+ SKU_4_WIFI_2CAM = 4, /* Wifi + dual camera */
};
static const struct pad_config default_override_table[] = {
@@ -62,6 +64,7 @@ const struct pad_config *variant_override_gpio_table(size_t *num)
switch (sku_id) {
case SKU_1_LTE:
+ case SKU_3_LTE_2CAM:
*num = ARRAY_SIZE(lte_override_table);
return lte_override_table;
default:
diff --git a/src/mainboard/google/octopus/variants/dood/variant.c b/src/mainboard/google/octopus/variants/dood/variant.c
index 7116061019..694e190892 100644
--- a/src/mainboard/google/octopus/variants/dood/variant.c
+++ b/src/mainboard/google/octopus/variants/dood/variant.c
@@ -23,6 +23,8 @@
enum {
SKU_1_LTE = 1, /* Wifi + LTE */
SKU_2_WIFI = 2, /* Wifi */
+ SKU_3_LTE_2CAM = 3, /* Wifi + LTE + dual camera */
+ SKU_4_WIFI_2CAM = 4, /* Wifi + dual camera */
};
struct gpio_with_delay {
@@ -63,6 +65,7 @@ void variant_smi_sleep(u8 slp_typ)
switch (get_board_sku()) {
case SKU_1_LTE:
+ case SKU_3_LTE_2CAM:
power_off_lte_module(slp_typ);
return;
default: