aboutsummaryrefslogtreecommitdiff
path: root/hw/pci-bridge/Kconfig
diff options
context:
space:
mode:
authorSebastian Ott <sebott@redhat.com>2023-05-15 16:28:46 +0200
committerMichael S. Tsirkin <mst@redhat.com>2023-05-19 10:30:46 -0400
commit6a36a4ced803838cbba5f90b1b765d8ef6255115 (patch)
treeea299d0af552f5b7e29294e63f09991f9c02942b /hw/pci-bridge/Kconfig
parent206e91d143301414df2deb48a411e402414ba6db (diff)
hw/pci-bridge: make building pcie-to-pci bridge configurable
Introduce a CONFIG option to build the pcie-to-pci bridge. No functional change since it's enabled per default for PCIE_PORT=y. Signed-off-by: Sebastian Ott <sebott@redhat.com> Message-Id: <72b6599d-6b27-00b5-aac5-2ebc16a2e023@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/pci-bridge/Kconfig')
-rw-r--r--hw/pci-bridge/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/hw/pci-bridge/Kconfig b/hw/pci-bridge/Kconfig
index 02614f49aa..67077366cc 100644
--- a/hw/pci-bridge/Kconfig
+++ b/hw/pci-bridge/Kconfig
@@ -3,6 +3,11 @@ config PCIE_PORT
default y if PCI_DEVICES
depends on PCI_EXPRESS && MSI_NONBROKEN
+config PCIE_PCI_BRIDGE
+ bool
+ default y if PCIE_PORT
+ depends on PCIE_PORT
+
config PXB
bool
default y if Q35 || ARM_VIRT