summaryrefslogtreecommitdiffstats
path: root/include/configs/qemu-x86.h
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2015-05-24 00:12:32 +0800
committerSimon Glass <sjg@chromium.org>2015-06-04 02:39:39 -0600
commit5466983200e6f059b3af40eb17b2cd18497a869d (patch)
tree59c6886a8a56990defd3f945c51b68cc2d9aa314 /include/configs/qemu-x86.h
parent1dc03c2639e6768c46c1db9ddbd2177e6962408e (diff)
downloadtalos-obmc-uboot-5466983200e6f059b3af40eb17b2cd18497a869d.tar.gz
talos-obmc-uboot-5466983200e6f059b3af40eb17b2cd18497a869d.zip
x86: qemu: Make host bridge (b.d.f=0.0.0) visible
The default weak version of pci_skip_dev() in drivers/pci/pci_common.c skips the host bridge (b.d.f = 0.0.0) which is actually the i440fx/q35 chipset for QEMU targets. Define CONFIG_PCI_CONFIG_HOST_BRIDGE to make it visible in the PCI configuration space. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/configs/qemu-x86.h')
-rw-r--r--include/configs/qemu-x86.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/qemu-x86.h b/include/configs/qemu-x86.h
index 77f88d2422..d01936b47b 100644
--- a/include/configs/qemu-x86.h
+++ b/include/configs/qemu-x86.h
@@ -29,6 +29,7 @@
#define CONFIG_PCI_IO_PHYS CONFIG_PCI_IO_BUS
#define CONFIG_PCI_IO_SIZE 0xe000
+#define CONFIG_PCI_CONFIG_HOST_BRIDGE
#define CONFIG_PCI_PNP
#define CONFIG_E1000
OpenPOWER on IntegriCloud