diff options
author | Van Chen <van_chen@compal.corp-partner.google.com> | 2018-06-05 11:47:42 +0800 |
---|---|---|
committer | Furquan Shaikh <furquan@google.com> | 2018-06-05 19:54:19 +0000 |
commit | a51ff0712cd85ecd9f46ec7c928688b7d463ff28 (patch) | |
tree | 451c21b9546e9d289c84fa56cd47f54c8bdafa73 /src/mainboard/google | |
parent | 986d5c90a51f21ff8f229288ad80dab968a022b9 (diff) |
mb/google/poppy/variants/nami: Disable rear camera/DMIC for vayne skuid 3A67
Since Vayne added one more skuid 3A67, we need to disable rear
camera/DMIC for vayne skuid 3A67.
BUG=b:75073617
BRANCH=master
TEST=Verify if only front camera/DMIC shown on Vayne
Change-Id: I9131b4c41bf189829be4e7e6bfaf4a96765cfa15
Signed-off-by: Van Chen <van_chen@compal.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/26855
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google')
-rw-r--r-- | src/mainboard/google/poppy/variants/nami/gpio.c | 1 | ||||
-rw-r--r-- | src/mainboard/google/poppy/variants/nami/mainboard.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/mainboard/google/poppy/variants/nami/gpio.c b/src/mainboard/google/poppy/variants/nami/gpio.c index d1b4c54cbd..0e6b1b71c4 100644 --- a/src/mainboard/google/poppy/variants/nami/gpio.c +++ b/src/mainboard/google/poppy/variants/nami/gpio.c @@ -401,6 +401,7 @@ const struct pad_config *variant_sku_gpio_table(size_t *num) uint32_t sku_id = variant_board_sku(); const struct pad_config *board_gpio_tables; switch (sku_id) { + case SKU_0_VAYNE: case SKU_1_VAYNE: case SKU_2_VAYNE: *num = ARRAY_SIZE(vayne_sku_gpio_table); diff --git a/src/mainboard/google/poppy/variants/nami/mainboard.c b/src/mainboard/google/poppy/variants/nami/mainboard.c index a98d7bfba0..957762331c 100644 --- a/src/mainboard/google/poppy/variants/nami/mainboard.c +++ b/src/mainboard/google/poppy/variants/nami/mainboard.c @@ -65,6 +65,7 @@ void variant_devtree_update(void) cfg->tdp_pl2_override = get_pl2(); switch (sku_id) { + case SKU_0_VAYNE: case SKU_1_VAYNE: case SKU_2_VAYNE: /* Disable unused port USB port */ |