From 45e103ca873c8e48d5048f377282347e6fc24daa Mon Sep 17 00:00:00 2001 From: John Su Date: Thu, 25 Mar 2021 17:14:14 +0800 Subject: [PATCH] mb/google/zork/vilboz: Fix audio test failure on LTE SKU Use board id to switch acp_i2s_use_external_48mhz_osc enable. BUG=b:181720406 BRANCH=firmware-zork-13434.B TEST=emerge-zork coreboot chromeos-bootimage Signed-off-by: John Su Change-Id: I085c39accd82bf72e4ebbc0394382ed4a7d4e901 Reviewed-on: https://review.coreboot.org/c/coreboot/+/51792 Tested-by: build bot (Jenkins) Reviewed-by: EricR Lai Reviewed-by: Angel Pons Reviewed-by: Kangheui Won --- src/mainboard/google/zork/variants/vilboz/variant.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mainboard/google/zork/variants/vilboz/variant.c b/src/mainboard/google/zork/variants/vilboz/variant.c index 747e893a1c..5006b92a4b 100644 --- a/src/mainboard/google/zork/variants/vilboz/variant.c +++ b/src/mainboard/google/zork/variants/vilboz/variant.c @@ -40,6 +40,9 @@ void variant_devtree_update(void) struct soc_amd_picasso_config *soc_cfg; soc_cfg = config_of_soc(); + if (board_id() <= 2 || board_id() == BOARD_ID_UNKNOWN) + return; + /* b:/174121847 Use external OSC to mitigate noise for WWAN sku. */ if (variant_has_wwan()) { soc_cfg->acp_i2s_use_external_48mhz_osc = 1;