summaryrefslogtreecommitdiffstats
path: root/src/arch/x86/include/arch/io.h
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2013-06-19 23:05:00 +0300
committerStefan Reinauer <stefan.reinauer@coreboot.org>2013-07-10 01:24:42 +0200
commit54d6abd276ac5c60e3846266050167cc1754dcf0 (patch)
treedecf02bd60f82990b39cae0b93da4e198ab36d63 /src/arch/x86/include/arch/io.h
parent872c9222965909dffdd091e644b03e676ca2754f (diff)
downloadcoreboot-54d6abd276ac5c60e3846266050167cc1754dcf0.tar.gz
coreboot-54d6abd276ac5c60e3846266050167cc1754dcf0.tar.bz2
coreboot-54d6abd276ac5c60e3846266050167cc1754dcf0.zip
Drop some duplicates of PCI-e config functions
These are not specific to Intel. Further work needs to be done to combine these with MMCONF_SUPPORT in arch/io.h. Change-Id: Id429db2df8d47433117c21133d80fc985b3e11e4 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/3502 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/arch/x86/include/arch/io.h')
-rw-r--r--src/arch/x86/include/arch/io.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/arch/x86/include/arch/io.h b/src/arch/x86/include/arch/io.h
index 29c83395a8e7..49499b97d168 100644
--- a/src/arch/x86/include/arch/io.h
+++ b/src/arch/x86/include/arch/io.h
@@ -395,6 +395,8 @@ static inline __attribute__((always_inline)) void pci_write_config32(device_t de
#endif
}
+#include <arch/pci_mmio_cfg.h>
+
static inline __attribute__((always_inline)) void pci_or_config8(device_t dev, unsigned where, uint8_t value)
{
pci_write_config8(dev, where, pci_read_config8(dev, where) | value);