summary refs log tree commit diff stats
path: root/hw/pci-host
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2019-05-14 08:13:28 +0200
committerThomas Huth <thuth@redhat.com>2019-08-20 09:11:17 +0200
commit282467f41904725aaae68e19ea9dece92708ceb4 (patch)
treea032b8784e274eeae41e1014114183d306479bfc /hw/pci-host
parent883e150f62e483286e3207dfa5756cf57271d2b3 (diff)
downloadfocaccia-qemu-282467f41904725aaae68e19ea9dece92708ceb4.tar.gz
focaccia-qemu-282467f41904725aaae68e19ea9dece92708ceb4.zip
hw/core: Add a config switch for the "or-irq" device
The "or-irq" device is only used by certain machines. Let's add
a proper config switch for it so that it only gets compiled when we
really need it.

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20190817101931.28386-6-thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'hw/pci-host')
-rw-r--r--hw/pci-host/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/pci-host/Kconfig b/hw/pci-host/Kconfig
index 8c16d96b3f..1edc1a31d4 100644
--- a/hw/pci-host/Kconfig
+++ b/hw/pci-host/Kconfig
@@ -2,8 +2,9 @@ config PAM
     bool
 
 config PREP_PCI
-    select PCI
     bool
+    select PCI
+    select OR_IRQ
 
 config GRACKLE_PCI
     select PCI