summaryrefslogtreecommitdiff
path: root/src/southbridge/intel/lynxpoint/early_usb.c
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2020-05-31 01:03:59 +0200
committerAngel Pons <th3fanbus@gmail.com>2020-06-01 17:05:58 +0000
commitd5d4fbc072c489e469df2c703a289be0d5f3bbac (patch)
tree77ac14520a2c96ce169624b3c4a5743c30e20cb9 /src/southbridge/intel/lynxpoint/early_usb.c
parentd49690bbe87134a67dc9efab11eadc96944fa15f (diff)
downloadcoreboot-d5d4fbc072c489e469df2c703a289be0d5f3bbac.tar.xz
sb/intel/lynxpoint: Restore lost PCI_COMMAND_MASTER bits
Commit 73ae076 "fixed" accesses to the PCI command register that were not 16 bits, but also lost some bits to be written in the process. Change-Id: I4eb62a0433a4563827a69c9e39c17ddd2eb8cd23 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41945 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr> Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
Diffstat (limited to 'src/southbridge/intel/lynxpoint/early_usb.c')
-rw-r--r--src/southbridge/intel/lynxpoint/early_usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/southbridge/intel/lynxpoint/early_usb.c b/src/southbridge/intel/lynxpoint/early_usb.c
index 06ddd0821d..a753681ce0 100644
--- a/src/southbridge/intel/lynxpoint/early_usb.c
+++ b/src/southbridge/intel/lynxpoint/early_usb.c
@@ -25,7 +25,7 @@
static void enable_usb_bar_on_device(pci_devfn_t dev, u32 bar)
{
pci_write_config32(dev, PCI_BASE_ADDRESS_0, bar);
- pci_or_config16(dev, PCI_COMMAND, PCI_COMMAND_MEMORY);
+ pci_or_config16(dev, PCI_COMMAND, PCI_COMMAND_MASTER | PCI_COMMAND_MEMORY);
}
void enable_usb_bar(void)