aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@redhat.com>2019-02-03 22:37:26 +0100
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>2020-05-26 12:09:18 +0200
commitabc82de356f636d70ac36e202c989a5e978dbae3 (patch)
tree298273a4f2ded552c9710c3e2589b02027e7e9ef /hw
parent97eeef8aeeac1c5fb64f6785bbcef2e57f7c62ce (diff)
downloadqemu-abc82de356f636d70ac36e202c989a5e978dbae3.zip
qemu-abc82de356f636d70ac36e202c989a5e978dbae3.tar.gz
qemu-abc82de356f636d70ac36e202c989a5e978dbae3.tar.bz2
hw/pci-host: Use CONFIG_PCI_BONITO to select the Bonito North Bridge
Ease the kconfig selection by introducing CONFIG_PCI_BONITO to select the Bonito North Bridge. Reviewed-by: Aleksandar Markovic <amarkovic@wavecomp.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-id: <20200510210128.18343-6-f4bug@amsat.org> Reviewed-by: Huacai Chen <chenhc@lemote.com> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'hw')
-rw-r--r--hw/mips/Kconfig1
-rw-r--r--hw/pci-host/Kconfig4
-rw-r--r--hw/pci-host/Makefile.objs2
3 files changed, 6 insertions, 1 deletions
diff --git a/hw/mips/Kconfig b/hw/mips/Kconfig
index 2c2adbc..2240504 100644
--- a/hw/mips/Kconfig
+++ b/hw/mips/Kconfig
@@ -43,6 +43,7 @@ config JAZZ
config FULONG
bool
+ select PCI_BONITO
config MIPS_CPS
bool
diff --git a/hw/pci-host/Kconfig b/hw/pci-host/Kconfig
index 9642c77..8db41ed 100644
--- a/hw/pci-host/Kconfig
+++ b/hw/pci-host/Kconfig
@@ -55,3 +55,7 @@ config PCI_EXPRESS_DESIGNWARE
bool
select PCI_EXPRESS
select MSI_NONBROKEN
+
+config PCI_BONITO
+ select PCI
+ bool
diff --git a/hw/pci-host/Makefile.objs b/hw/pci-host/Makefile.objs
index 8c87e84..e422e0a 100644
--- a/hw/pci-host/Makefile.objs
+++ b/hw/pci-host/Makefile.objs
@@ -12,7 +12,7 @@ common-obj-$(CONFIG_PPCE500_PCI) += ppce500.o
common-obj-$(CONFIG_VERSATILE_PCI) += versatile.o
common-obj-$(CONFIG_PCI_SABRE) += sabre.o
-common-obj-$(CONFIG_FULONG) += bonito.o
+common-obj-$(CONFIG_PCI_BONITO) += bonito.o
common-obj-$(CONFIG_PCI_I440FX) += i440fx.o
common-obj-$(CONFIG_XEN_IGD_PASSTHROUGH) += xen_igd_pt.o
common-obj-$(CONFIG_PCI_EXPRESS_Q35) += q35.o