From f3a49c8b3d54e66ae6a7bb68d31cfce5a5693fdf Mon Sep 17 00:00:00 2001 From: Avi Uday Date: Mon, 25 Aug 2025 18:40:29 +0530 Subject: [PATCH] mb/google/ocelot/var/ocelot: Disable audio for invalid Audio FW_CONFIG This commit modifies the Ocelot mainboard configuration to ensure the Audio controller is only enabled when a valid `FW_CONFIG` is selected. This change introduces audio probe statements that allow the system to boot successfully even if `FW_CONFIG` is set to `AUDIO_UNKNOWN`, effectively disabling the audio controller in such cases. This prevents potential boot failures when an unsupported or unknown audio codec is selected, improving system robustness. BUG=b:412736286 TEST=Verify that ocelot builds without any error Change-Id: I7c125c67b70a0e0f3df3629cb0002bfdaa57fdc9 Signed-off-by: Avi Uday Reviewed-on: https://review.coreboot.org/c/coreboot/+/88938 Reviewed-by: Subrata Banik Reviewed-by: Pranava Y N Reviewed-by: Paul Menzel Reviewed-by: Kapil Porwal Tested-by: build bot (Jenkins) --- src/mainboard/google/ocelot/variants/ocelot/overridetree.cb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mainboard/google/ocelot/variants/ocelot/overridetree.cb b/src/mainboard/google/ocelot/variants/ocelot/overridetree.cb index c83925326c..59273e4bd3 100644 --- a/src/mainboard/google/ocelot/variants/ocelot/overridetree.cb +++ b/src/mainboard/google/ocelot/variants/ocelot/overridetree.cb @@ -559,6 +559,9 @@ chip soc/intel/pantherlake device ref smbus on end device ref hda on + probe AUDIO AUDIO_ALC721_SNDW + probe AUDIO AUDIO_ALC256_HDA + probe AUDIO AUDIO_MAX98360_ALC5682I_I2S chip drivers/intel/soundwire device generic 0 on chip drivers/soundwire/alc711