From 7024e66a13e8edc557ca2f15b318816de081eb95 Mon Sep 17 00:00:00 2001 From: Amanda Huang Date: Tue, 10 Apr 2018 14:09:36 +0800 Subject: mb/google/poppy: Disable rear camera for all vayne sku Since there are two cameras on Nami and only one camera on Vayne. We need to disable rear camera on all Vayne sku. BUG=b:75073617 BRANCH=master TEST=Verify if only front camera shown on Vayne Change-Id: I6e7c1e8791462f00ad8336372954ee0a9465d9b8 Signed-off-by: Amanda Huang Reviewed-on: https://review.coreboot.org/25563 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh --- src/mainboard/google/poppy/variants/nami/mainboard.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mainboard/google/poppy/variants/nami/mainboard.c b/src/mainboard/google/poppy/variants/nami/mainboard.c index 4fc3d885cf..11d406039f 100644 --- a/src/mainboard/google/poppy/variants/nami/mainboard.c +++ b/src/mainboard/google/poppy/variants/nami/mainboard.c @@ -46,6 +46,7 @@ void variant_devtree_update(void) config_t *cfg = root->chip_info; switch (sku_id) { case SKU_1_VAYNE: + case SKU_2_VAYNE: cfg->usb2_ports[5].enable = 0;//rear camera break; default: -- cgit v1.2.3