summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Su <john_su@compal.corp-partner.google.com>2021-03-25 17:14:14 +0800
committerFurquan Shaikh <furquan@google.com>2021-04-02 20:52:57 +0000
commit45e103ca873c8e48d5048f377282347e6fc24daa (patch)
treef931ee05179b38f692b0baa71fee9f119ca8ccb2
parenta10cc8a98bd5fd3e15a9c0efddd342cfc3c72c44 (diff)
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 <john_su@compal.corp-partner.google.com> Change-Id: I085c39accd82bf72e4ebbc0394382ed4a7d4e901 Reviewed-on: https://review.coreboot.org/c/coreboot/+/51792 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: EricR Lai <ericr_lai@compal.corp-partner.google.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Kangheui Won <khwon@chromium.org>
-rw-r--r--src/mainboard/google/zork/variants/vilboz/variant.c3
1 files changed, 3 insertions, 0 deletions
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;