hw/pci-host: Use CONFIG_PCI_BONITO to select the Bonito North Bridge
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Sun, 3 Feb 2019 21:37:26 +0000 (22:37 +0100)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 26 May 2020 10:09:18 +0000 (12:09 +0200)
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>
hw/mips/Kconfig
hw/pci-host/Kconfig
hw/pci-host/Makefile.objs

index 2c2adbc42a250295cf4e45156846a88de03d12a4..2240504dffb7036f2ca82e089a38ba43c8c9fe1a 100644 (file)
@@ -43,6 +43,7 @@ config JAZZ
 
 config FULONG
     bool
+    select PCI_BONITO
 
 config MIPS_CPS
     bool
index 9642c77e98b15a90d0a85ec2ccba84e4945bea90..8db41edc7eac0c591619943b1186c1889a65ec8e 100644 (file)
@@ -55,3 +55,7 @@ config PCI_EXPRESS_DESIGNWARE
     bool
     select PCI_EXPRESS
     select MSI_NONBROKEN
+
+config PCI_BONITO
+    select PCI
+    bool
index 8c87e8494d3d3a475c4bf37d485e1685416312b8..e422e0aca04b9531e8e71cef690d75d9bb1c3f54 100644 (file)
@@ -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