device/Kconfig: rename AZALIA_PLUGIN_SUPPORT to AZALIA_HDA_CODEC_SUPPORT
Rename AZALIA_PLUGIN_SUPPORT to AZALIA_HDA_CODEC_SUPPORT and add a help text to this Kconfig option to clarify what this option is about. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: I71e36869c6ebf77f43ca78f5e451aebfb59f1c74 Reviewed-on: https://review.coreboot.org/c/coreboot/+/78986 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com> Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:
@@ -564,13 +564,18 @@ config CARDBUS_PLUGIN_SUPPORT
|
||||
bool
|
||||
default y
|
||||
|
||||
config AZALIA_PLUGIN_SUPPORT
|
||||
config AZALIA_HDA_CODEC_SUPPORT
|
||||
bool
|
||||
default n
|
||||
help
|
||||
Select this option to include the code to initialize Azalia HD audio
|
||||
codec chips. This will also add the hda_verb.c file from the
|
||||
mainboard directory to the build which contain the board-specific HD
|
||||
audio codec configuration.
|
||||
|
||||
config AZALIA_LOCK_DOWN_R_WO_GCAP
|
||||
def_bool n
|
||||
depends on AZALIA_PLUGIN_SUPPORT
|
||||
depends on AZALIA_HDA_CODEC_SUPPORT
|
||||
help
|
||||
The GCAP register is implemented as R/WO (Read / Write Once) on some
|
||||
HD Audio controllers, such as Intel 6-series PCHs. Select this option
|
||||
|
@@ -4,12 +4,12 @@ ramstage-y += device.c
|
||||
ramstage-y += root_device.c
|
||||
ramstage-y += cpu_device.c
|
||||
ramstage-y += device_util.c
|
||||
ramstage-$(CONFIG_AZALIA_PLUGIN_SUPPORT) += azalia_device.c
|
||||
ramstage-$(CONFIG_AZALIA_HDA_CODEC_SUPPORT) += azalia_device.c
|
||||
ramstage-$(CONFIG_ARCH_RAMSTAGE_X86_32) += pnp_device.c
|
||||
ramstage-$(CONFIG_ARCH_RAMSTAGE_X86_64) += pnp_device.c
|
||||
ramstage-y += smbus_ops.c
|
||||
|
||||
ifeq ($(CONFIG_AZALIA_PLUGIN_SUPPORT),y)
|
||||
ifeq ($(CONFIG_AZALIA_HDA_CODEC_SUPPORT),y)
|
||||
ramstage-srcs += $(wildcard src/mainboard/$(MAINBOARDDIR)/hda_verb.c)
|
||||
endif
|
||||
|
||||
|
Reference in New Issue
Block a user