aboutsummaryrefslogtreecommitdiff
path: root/hw/mips
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@redhat.com>2019-03-10 02:25:07 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2023-01-13 09:32:32 +0100
commit7c032bfbe838c24dcbdc8f9c452553b24f20daad (patch)
tree576e2745d752876b543744fd69b352ac3f8fb112 /hw/mips
parent145e2198d749ec09a405f1607a9932499b76f1eb (diff)
downloadqemu-7c032bfbe838c24dcbdc8f9c452553b24f20daad.zip
qemu-7c032bfbe838c24dcbdc8f9c452553b24f20daad.tar.gz
qemu-7c032bfbe838c24dcbdc8f9c452553b24f20daad.tar.bz2
hw/mips/Kconfig: Introduce CONFIG_GT64120 to select gt64xxx_pci.c
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Bernhard Beschow <shentey@gmail.com> Message-Id: <20221209151533.69516-2-philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'hw/mips')
-rw-r--r--hw/mips/Kconfig6
-rw-r--r--hw/mips/meson.build3
2 files changed, 8 insertions, 1 deletions
diff --git a/hw/mips/Kconfig b/hw/mips/Kconfig
index 7255253..d6bbbe7 100644
--- a/hw/mips/Kconfig
+++ b/hw/mips/Kconfig
@@ -1,5 +1,6 @@
config MALTA
bool
+ select GT64120
select ISA_SUPERIO
config MIPSSIM
@@ -59,3 +60,8 @@ config MIPS_BOSTON
config FW_CFG_MIPS
bool
+
+config GT64120
+ bool
+ select PCI
+ select I8259
diff --git a/hw/mips/meson.build b/hw/mips/meson.build
index dd0101a..6ccd385 100644
--- a/hw/mips/meson.build
+++ b/hw/mips/meson.build
@@ -2,7 +2,8 @@ mips_ss = ss.source_set()
mips_ss.add(files('bootloader.c', 'mips_int.c'))
mips_ss.add(when: 'CONFIG_FW_CFG_MIPS', if_true: files('fw_cfg.c'))
mips_ss.add(when: 'CONFIG_LOONGSON3V', if_true: files('loongson3_bootp.c', 'loongson3_virt.c'))
-mips_ss.add(when: 'CONFIG_MALTA', if_true: files('gt64xxx_pci.c', 'malta.c'))
+mips_ss.add(when: 'CONFIG_MALTA', if_true: files('malta.c'))
+mips_ss.add(when: 'CONFIG_GT64120', if_true: files('gt64xxx_pci.c'))
mips_ss.add(when: 'CONFIG_MIPS_CPS', if_true: files('cps.c'))
if 'CONFIG_TCG' in config_all