summaryrefslogtreecommitdiffstats
path: root/src/device
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2023-11-09 14:08:53 +0100
committerFelix Held <felix-coreboot@felixheld.de>2023-11-10 15:27:58 +0000
commitbc6a690455923821c3da79e6b18606b288927b04 (patch)
tree1269758a42d333d76da0d394e657dec9befbf948 /src/device
parent6fd7f112250f495e73e650bf07b2597274676cc8 (diff)
downloadcoreboot-bc6a690455923821c3da79e6b18606b288927b04.tar.gz
coreboot-bc6a690455923821c3da79e6b18606b288927b04.tar.bz2
coreboot-bc6a690455923821c3da79e6b18606b288927b04.zip
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>
Diffstat (limited to 'src/device')
-rw-r--r--src/device/Kconfig9
-rw-r--r--src/device/Makefile.inc4
2 files changed, 9 insertions, 4 deletions
diff --git a/src/device/Kconfig b/src/device/Kconfig
index 8c6c734ad9bb..13d20cdcee2c 100644
--- a/src/device/Kconfig
+++ b/src/device/Kconfig
@@ -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
diff --git a/src/device/Makefile.inc b/src/device/Makefile.inc
index 6a2d964a67fa..a2f0d3ec3ade 100644
--- a/src/device/Makefile.inc
+++ b/src/device/Makefile.inc
@@ -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