summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2021-03-18 17:39:25 +0100
committerAngel Pons <th3fanbus@gmail.com>2021-03-22 13:01:07 +0000
commit1895d1a181a0e50f05f03c247d9827e976b9b333 (patch)
tree3d7853acb8ef8c7845072b363f40ba256cc0dd0b /src/soc
parent50811e2deb09f43ea08b1cb91c13d5f75f311ba6 (diff)
{lynxpoint,broadwell}/hda_verb.c: Drop effect-free write
This bit is hardwired to 1 (Intel High Definition Audio mode). Change-Id: I3683497c5e2446f1d8319037583890b5d0a8a95c Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/51644 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/intel/broadwell/pch/hda.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/soc/intel/broadwell/pch/hda.c b/src/soc/intel/broadwell/pch/hda.c
index 04390d1342..c6ae590bc4 100644
--- a/src/soc/intel/broadwell/pch/hda.c
+++ b/src/soc/intel/broadwell/pch/hda.c
@@ -60,10 +60,6 @@ static void hda_pch_init(struct device *dev, u8 *base)
reg32 |= (1 << 24);
pci_write_config32(dev, 0xc4, reg32);
- reg8 = pci_read_config8(dev, 0x40); // Audio Control
- reg8 |= 1; // Select HDA mode
- pci_write_config8(dev, 0x40, reg8);
-
reg8 = pci_read_config8(dev, 0x4d); // Docking Status
reg8 &= ~(1 << 7); // Docking not supported
pci_write_config8(dev, 0x4d, reg8);