summaryrefslogtreecommitdiff
path: root/src/soc/intel/broadwell/pch/hda.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/broadwell/pch/hda.c')
-rw-r--r--src/soc/intel/broadwell/pch/hda.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/src/soc/intel/broadwell/pch/hda.c b/src/soc/intel/broadwell/pch/hda.c
index 5c5e08fc31..c292b942e0 100644
--- a/src/soc/intel/broadwell/pch/hda.c
+++ b/src/soc/intel/broadwell/pch/hda.c
@@ -11,20 +11,6 @@
#include <soc/rcba.h>
#include <southbridge/intel/lynxpoint/hda_verb.h>
-static void codecs_init(u8 *base, u32 codec_mask)
-{
- int i;
-
- /* Can support up to 4 codecs */
- for (i = 3; i >= 0; i--) {
- if (codec_mask & (1 << i))
- azalia_codec_init(base, i, cim_verb_data, cim_verb_data_size);
- }
-
- if (pc_beep_verbs_size)
- azalia_program_verb_table(base, pc_beep_verbs, pc_beep_verbs_size);
-}
-
static void hda_pch_init(struct device *dev, u8 *base)
{
u8 reg8;
@@ -94,7 +80,7 @@ static void hda_init(struct device *dev)
if (codec_mask) {
printk(BIOS_DEBUG, "HDA: codec_mask = %02x\n", codec_mask);
- codecs_init(base, codec_mask);
+ azalia_codecs_init(base, codec_mask);
}
}