From ca7580c064735dd15679da989eb7304642c2c0ed Mon Sep 17 00:00:00 2001 From: Kyösti Mälkki Date: Sat, 21 Sep 2019 16:48:19 +0300 Subject: device/cardbus: Remove unnecessary bridge_ctrl bitmask MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The bits PARITY and SERR are set unconditionally below. Change-Id: I03f53fe7f436f8feed7b34756439077f02a85565 Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/c/coreboot/+/35519 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber Reviewed-by: Michael Niewöhner --- src/device/cardbus_device.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/device') diff --git a/src/device/cardbus_device.c b/src/device/cardbus_device.c index 826d785fd4..48c54bc16a 100644 --- a/src/device/cardbus_device.c +++ b/src/device/cardbus_device.c @@ -152,8 +152,6 @@ void cardbus_enable_resources(struct device *dev) ctrl = pci_read_config16(dev, PCI_CB_BRIDGE_CONTROL); ctrl |= (dev->link_list->bridge_ctrl & ( - PCI_BRIDGE_CTL_PARITY | - PCI_BRIDGE_CTL_SERR | PCI_BRIDGE_CTL_NO_ISA | PCI_BRIDGE_CTL_VGA | PCI_BRIDGE_CTL_MASTER_ABORT | -- cgit v1.2.3