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>
This commit is contained in:
Amanda Huang 2018-04-10 14:09:36 +08:00 committed by Patrick Georgi
parent 67031a565b
commit 7024e66a13
1 changed files with 1 additions and 0 deletions

View File

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