azalia: Shrink boilerplate
Change-Id: Ib3e09644c0ee71aacb067adaa85653d151b52078 Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: http://review.coreboot.org/6840 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
This commit is contained in:
@@ -14,6 +14,10 @@ ramstage-$(CONFIG_PCI) += pci_ops.c
|
||||
ramstage-$(CONFIG_PCI) += pci_early.c
|
||||
ramstage-y += smbus_ops.c
|
||||
|
||||
ifeq ($(CONFIG_AZALIA_PLUGIN_SUPPORT),y)
|
||||
ramstage-srcs += src/mainboard/$(MAINBOARDDIR)/hda_verb.c
|
||||
endif
|
||||
|
||||
romstage-y += device_romstage.c
|
||||
romstage-$(CONFIG_PCI) += pci_early.c
|
||||
|
||||
|
@@ -110,9 +110,6 @@ no_codec:
|
||||
return 0;
|
||||
}
|
||||
|
||||
const u32 *cim_verb_data = NULL;
|
||||
u32 cim_verb_data_size = 0;
|
||||
|
||||
static u32 find_verb(struct device *dev, u32 viddid, const u32 ** verb)
|
||||
{
|
||||
printk(BIOS_DEBUG, "azalia_audio: dev=%s\n", dev_path(dev));
|
||||
|
Reference in New Issue
Block a user