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>
This commit is contained in:
parent
a10cc8a98b
commit
45e103ca87
|
@ -40,6 +40,9 @@ void variant_devtree_update(void)
|
||||||
struct soc_amd_picasso_config *soc_cfg;
|
struct soc_amd_picasso_config *soc_cfg;
|
||||||
soc_cfg = config_of_soc();
|
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. */
|
/* b:/174121847 Use external OSC to mitigate noise for WWAN sku. */
|
||||||
if (variant_has_wwan()) {
|
if (variant_has_wwan()) {
|
||||||
soc_cfg->acp_i2s_use_external_48mhz_osc = 1;
|
soc_cfg->acp_i2s_use_external_48mhz_osc = 1;
|
||||||
|
|
Loading…
Reference in New Issue