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:
parent
3404247115
commit
6cf33858b6
|
@ -22,6 +22,8 @@
|
||||||
enum {
|
enum {
|
||||||
SKU_1_LTE = 1, /* Wifi + LTE */
|
SKU_1_LTE = 1, /* Wifi + LTE */
|
||||||
SKU_2_WIFI = 2, /* Wifi */
|
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[] = {
|
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) {
|
switch (sku_id) {
|
||||||
case SKU_1_LTE:
|
case SKU_1_LTE:
|
||||||
|
case SKU_3_LTE_2CAM:
|
||||||
*num = ARRAY_SIZE(lte_override_table);
|
*num = ARRAY_SIZE(lte_override_table);
|
||||||
return lte_override_table;
|
return lte_override_table;
|
||||||
default:
|
default:
|
||||||
|
|
|
@ -23,6 +23,8 @@
|
||||||
enum {
|
enum {
|
||||||
SKU_1_LTE = 1, /* Wifi + LTE */
|
SKU_1_LTE = 1, /* Wifi + LTE */
|
||||||
SKU_2_WIFI = 2, /* Wifi */
|
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 {
|
struct gpio_with_delay {
|
||||||
|
@ -63,6 +65,7 @@ void variant_smi_sleep(u8 slp_typ)
|
||||||
|
|
||||||
switch (get_board_sku()) {
|
switch (get_board_sku()) {
|
||||||
case SKU_1_LTE:
|
case SKU_1_LTE:
|
||||||
|
case SKU_3_LTE_2CAM:
|
||||||
power_off_lte_module(slp_typ);
|
power_off_lte_module(slp_typ);
|
||||||
return;
|
return;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue