util/autoport/azalia.go: Select CONFIG_AZALIA_USE_LEGACY_VERB_TABLE

As of commit 31fc5b06a6 ("device: Introduce reworked azalia verb
table"), all boards using the old azalia verb table format must select
CONFIG_AZALIA_USE_LEGACY_VERB_TABLE. The generated output of autoport
uses the old format, so select the config.

This is only meant to be a temporary measure as opposed to reworking
autoport to produce the new format, as I would rather incorporate
hda-decoder's functionality to generate hda-verb.c instead of
duplicating efforts. Support for the new format in hda-decoder is
currently WIP on CB:84357.

Change-Id: I54c6a92a69039eb747ee8cc6d5186dc3a3c6acc8
Signed-off-by: Nicholas Chin <nic.c3.14@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/90055
Reviewed-by: Nicholas Sudsgaard <devel+coreboot@nsudsgaard.com>
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Nicholas Chin 2025-11-16 11:32:05 -07:00 committed by Matt DeVillier
commit 18dbeca5f4

View file

@ -9,6 +9,10 @@ type azalia struct {
}
func (i azalia) Scan(ctx Context, addr PCIDevData) {
/* FIXME: Rework to output new verb table format, or better
yet use hda-decoder to avoid duplicating functionality */
KconfigBool["AZALIA_USE_LEGACY_VERB_TABLE"] = true
az := Create(ctx, "hda_verb.c")
defer az.Close()