summaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
authorAmanda Huang <amanda_hwang@compal.corp-partner.google.com>2018-04-10 14:09:36 +0800
committerPatrick Georgi <pgeorgi@google.com>2018-04-10 10:47:21 +0000
commit7024e66a13e8edc557ca2f15b318816de081eb95 (patch)
tree9f4aa70827b3944cf9ba220c3261b0294601815a /src/mainboard/google
parent67031a565b3179fa5a28282fc2e24b47d16003e8 (diff)
downloadcoreboot-7024e66a13e8edc557ca2f15b318816de081eb95.tar.xz
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 <amanda_hwang@compal.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/25563 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/mainboard/google')
-rw-r--r--src/mainboard/google/poppy/variants/nami/mainboard.c1
1 files changed, 1 insertions, 0 deletions
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: