Elyes Haouas has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/61855 )
Change subject: sb/intel/i82801gx/azalia.c: Use azalia_audio_init(dev) ......................................................................
sb/intel/i82801gx/azalia.c: Use azalia_audio_init(dev)
Change-Id: Ia87eac9f3d267f25b2fd4cc423811641c5c544f0 Signed-off-by: Elyes Haouas ehaouas@noos.fr --- M src/southbridge/intel/i82801gx/azalia.c 1 file changed, 1 insertion(+), 14 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/55/61855/1
diff --git a/src/southbridge/intel/i82801gx/azalia.c b/src/southbridge/intel/i82801gx/azalia.c index 7921fdd..3edaf55 100644 --- a/src/southbridge/intel/i82801gx/azalia.c +++ b/src/southbridge/intel/i82801gx/azalia.c @@ -58,20 +58,7 @@ // Docking not supported pci_and_config8(dev, 0x4d, (u8)~(1 << 7)); // Docking Status
- res = probe_resource(dev, PCI_BASE_ADDRESS_0); - if (!res) - return; - - // NOTE this will break as soon as the Azalia gets a bar above 4G. - // Is there anything we can do about it? - base = res2mmio(res, 0, 0); - printk(BIOS_DEBUG, "Azalia: base = %08x\n", (u32)(uintptr_t)base); - codec_mask = codec_detect(base); - - if (codec_mask) { - printk(BIOS_DEBUG, "Azalia: codec_mask = %02x\n", codec_mask); - azalia_codecs_init(base, codec_mask); - } + azalia_audio_init(dev); }
static struct device_operations azalia_ops = {