summaryrefslogtreecommitdiff
path: root/src/device/cardbus_device.c
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2019-09-21 16:48:19 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2019-09-22 18:39:08 +0000
commitca7580c064735dd15679da989eb7304642c2c0ed (patch)
treedabca93fc555a834f9ea914c6f5979fd3afb820c /src/device/cardbus_device.c
parent0bca050f2cbff36f9d7c55eddafc34e6b495a767 (diff)
downloadcoreboot-ca7580c064735dd15679da989eb7304642c2c0ed.tar.xz
device/cardbus: Remove unnecessary bridge_ctrl bitmask
The bits PARITY and SERR are set unconditionally below. Change-Id: I03f53fe7f436f8feed7b34756439077f02a85565 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/35519 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Michael Niewöhner
Diffstat (limited to 'src/device/cardbus_device.c')
-rw-r--r--src/device/cardbus_device.c2
1 files changed, 0 insertions, 2 deletions
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 |