diff options
Diffstat (limited to 'src/device')
-rw-r--r-- | src/device/Kconfig | 9 | ||||
-rw-r--r-- | src/device/Makefile.inc | 4 |
2 files changed, 9 insertions, 4 deletions
diff --git a/src/device/Kconfig b/src/device/Kconfig index 8c6c734ad9..13d20cdcee 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 6a2d964a67..a2f0d3ec3a 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 |