sb/intel/i82801gx/azalia.c: Drop dead code

This code is not even being build-tested. Drop it before it grows moss.

Change-Id: I0fbdf8d7a3d89fefcd321dc3ba4ddd82c309e667
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/43228
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Michael Niewöhner
This commit is contained in:
Angel Pons 2020-07-07 22:47:24 +02:00
parent 2047588de5
commit 3c05531632
1 changed files with 0 additions and 11 deletions

View File

@ -252,17 +252,6 @@ static void azalia_init(struct device *dev)
reg8 = pci_read_config8(dev, 0x4d); // Docking Status reg8 = pci_read_config8(dev, 0x4d); // Docking Status
reg8 &= ~(1 << 7); // Docking not supported reg8 &= ~(1 << 7); // Docking not supported
pci_write_config8(dev, 0x4d, reg8); pci_write_config8(dev, 0x4d, reg8);
#if 0
/* Set routing pin */
pci_write_config32(dev, 0xf8, 0x0);
pci_write_config8(dev, 0xfc, 0xAA);
/* Set INTA */
pci_write_config8(dev, 0x63, 0x0);
/* Enable azalia, disable ac97 */
// pm_iowrite(0x59, 0xB);
#endif
res = find_resource(dev, 0x10); res = find_resource(dev, 0x10);
if (!res) if (!res)