diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2020-04-28 10:25:12 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-05-01 06:23:06 +0000 |
commit | b9d2e228b63c898383f1f6e6bd5e02b018ff31af (patch) | |
tree | 97c6a7a793e568e3b7f65b85373c86db7ceef1b6 /src/southbridge/intel/i82801ix/i82801ix.c | |
parent | 73ae076e954ea6acd2fd22386616cd4ce839c830 (diff) | |
download | coreboot-b9d2e228b63c898383f1f6e6bd5e02b018ff31af.tar.xz |
sb/intel/i82801ix: Fix 16-bit read/write PCI_COMMAND register
Change-Id: I5a07a00e1183ef834d97c11268935617cfe17faa
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/40794
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/southbridge/intel/i82801ix/i82801ix.c')
-rw-r--r-- | src/southbridge/intel/i82801ix/i82801ix.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/southbridge/intel/i82801ix/i82801ix.c b/src/southbridge/intel/i82801ix/i82801ix.c index f26d584a38..b76116d80f 100644 --- a/src/southbridge/intel/i82801ix/i82801ix.c +++ b/src/southbridge/intel/i82801ix/i82801ix.c @@ -13,12 +13,8 @@ typedef struct southbridge_intel_i82801ix_config config_t; static void i82801ix_enable_device(struct device *dev) { - u32 reg32; - /* Enable SERR */ - reg32 = pci_read_config32(dev, PCI_COMMAND); - reg32 |= PCI_COMMAND_SERR; - pci_write_config32(dev, PCI_COMMAND, reg32); + pci_or_config16(dev, PCI_COMMAND, PCI_COMMAND_SERR); } static void i82801ix_early_settings(const config_t *const info) |