coreboot/src
Subrata Banik 2e387e13f5 mb/google/fatcat/var/francka: Conditionally init HDA
This commit implements `mainboard_is_hda_codec_enabled` for the Google
Francka mainboard variant. This overrides the default weak HDA common
initialization.

Initialization of the High Definition Audio (HDA) controller, managed by
`azalia_audio_init()` (which handles HDA verb table loading), is now
conditional. It proceeds only if the firmware config
`FW_CONFIG(AUDIO, AUDIO_ALC256M_CG_HDA)` is set. This targets the
ALC256M-CG HDA codec.

This change ensures that HDA verb tables are loaded only when the
ALC256M-CG HDA codec is actively configured for the Francka variant.
Crucially, this prevents attempts to incorrectly load HDA verbs for
other audio interfaces, like SoundWire (SNDW), which might be present
in different Francka hardware configurations.

The header `intelblocks/hda.h` added to support this HDA initialization
logic.

BUG=b:ENTER_FRANCKA_BUG_ID_HERE
TEST=Verified HDA verb table loading is skipped on Francka platforms
     when configured with non-HDA audio codecs (e.g., SNDW),
     and proceeds as expected when ALC256M-CG HDA is configured

Change-Id: Idbc506c1ad180c7e8ecdec51c3491e6f0518204c
Signed-off-by: Subrata Banik <subratabanik@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/87463
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Pranava Y N <pranavayn@google.com>
Reviewed-by: Kapil Porwal <kapilporwal@google.com>
2025-04-29 02:11:15 +00:00
..
acpi Revert "acpi,Makefile: Add preload_acpi_dsdt" 2025-04-14 13:55:42 +00:00
arch treewide: Assume FMAP_SECTION_FLASH_START = 0 2025-04-18 14:57:05 +00:00
commonlib tree: remove duplicated includes 2025-04-20 05:13:57 +00:00
console
cpu smmrelocate: Drop unused parameter 2025-04-23 21:02:27 +00:00
device arch/x86: Use defines for GDT segments 2025-04-17 14:50:11 +00:00
drivers soc/intel: Add Wildcat Lake CPU and PCIe device IDs 2025-04-23 20:59:41 +00:00
ec ec/google/chromeec: Increase EC status timeout to 30 seconds 2025-04-25 14:24:16 +00:00
include soc/intel: Add Wildcat Lake CPU and PCIe device IDs 2025-04-23 20:59:41 +00:00
lib treewide: Assume FMAP_SECTION_FLASH_START = 0 2025-04-18 14:57:05 +00:00
mainboard mb/google/fatcat/var/francka: Conditionally init HDA 2025-04-29 02:11:15 +00:00
northbridge nb/intel/sandybridge: Add CFR objects for existing options 2025-04-23 14:17:36 +00:00
sbom
security
soc soc/intel/cmn/hda: Introduce mainboard hook for HDA initialization 2025-04-29 02:11:00 +00:00
southbridge sb/intel/lynxpoint: Add CFR objects for existing options 2025-04-25 14:24:47 +00:00
superio superio/ite/it8772f: Program power state after failure 2025-04-23 14:16:09 +00:00
vendorcode treewide: Assume FMAP_SECTION_FLASH_START = 0 2025-04-18 14:57:05 +00:00
Kconfig Kconfig: Update prompt and help text for CBFS_SIZE 2025-03-01 23:29:09 +00:00