From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:45328) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gqPw0-0002Rc-O8 for qemu-devel@nongnu.org; Sun, 03 Feb 2019 17:08:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gqPvz-000769-Se for qemu-devel@nongnu.org; Sun, 03 Feb 2019 17:08:16 -0500 Received: from mx1.redhat.com ([209.132.183.28]:60964) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gqPvz-00075a-Mk for qemu-devel@nongnu.org; Sun, 03 Feb 2019 17:08:15 -0500 From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Date: Sun, 3 Feb 2019 23:07:43 +0100 Message-Id: <20190203220744.11734-6-philmd@redhat.com> In-Reply-To: <20190203220744.11734-1-philmd@redhat.com> References: <20190203220744.11734-1-philmd@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH 5/6] hw/pci-host: Use CONFIG_PCI_BONITO to select the Bonito North Bridge List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Aleksandar Rikalo , Aleksandar Markovic , Paolo Bonzini , James Hogan , Aurelien Jarno , Thomas Huth , Yang Zhong , Paul Burton , =?UTF-8?q?Herv=C3=A9=20Poussineau?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Ease the kconfig selection by introducing CONFIG_PCI_BONITO to select the Bonito North Bridge. Select it for the Loongson 2E machine. Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- default-configs/mips64el-softmmu.mak | 1 + hw/pci-host/Kconfig | 4 ++++ hw/pci-host/Makefile.objs | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/default-configs/mips64el-softmmu.mak b/default-configs/mips6= 4el-softmmu.mak index ac44df1d0d..ee583758e1 100644 --- a/default-configs/mips64el-softmmu.mak +++ b/default-configs/mips64el-softmmu.mak @@ -3,4 +3,5 @@ include mips-softmmu-common.mak CONFIG_IDE_VIA=3Dy CONFIG_FULONG=3Dy +CONFIG_PCI_BONITO=3Dy CONFIG_VT82C686=3Dy diff --git a/hw/pci-host/Kconfig b/hw/pci-host/Kconfig index b39ea297ba..9abadafaf5 100644 --- a/hw/pci-host/Kconfig +++ b/hw/pci-host/Kconfig @@ -49,3 +49,7 @@ config PCI_EXPRESS_XILINX config PCI_EXPRESS_DESIGNWARE bool select PCI_EXPRESS + +config PCI_BONITO + select PCI + bool diff --git a/hw/pci-host/Makefile.objs b/hw/pci-host/Makefile.objs index a9cd3e022d..d6e86b9b89 100644 --- a/hw/pci-host/Makefile.objs +++ b/hw/pci-host/Makefile.objs @@ -12,7 +12,7 @@ common-obj-$(CONFIG_PPCE500_PCI) +=3D ppce500.o common-obj-$(CONFIG_VERSATILE_PCI) +=3D versatile.o =20 common-obj-$(CONFIG_PCI_SABRE) +=3D sabre.o -common-obj-$(CONFIG_FULONG) +=3D bonito.o +common-obj-$(CONFIG_PCI_BONITO) +=3D bonito.o common-obj-$(CONFIG_PCI_PIIX) +=3D piix.o common-obj-$(CONFIG_PCI_EXPRESS_Q35) +=3D q35.o common-obj-$(CONFIG_PCI_EXPRESS_GENERIC_BRIDGE) +=3D gpex.o --=20 2.20.1