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 <aviuday@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/88938
Reviewed-by: Subrata Banik <subratabanik@google.com>
Reviewed-by: Pranava Y N <pranavayn@google.com>
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Reviewed-by: Kapil Porwal <kapilporwal@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Avi Uday 2025-08-25 18:40:29 +05:30 committed by Subrata Banik
commit f3a49c8b3d

View file

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