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>
This commit is contained in:
Kenneth Chan 2020-02-06 17:14:34 +08:00 committed by Patrick Georgi
parent 3404247115
commit 6cf33858b6
2 changed files with 6 additions and 0 deletions

View File

@ -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:

View File

@ -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: