]> Git Repo - qemu.git/commitdiff
hw/core: Add a config switch for the "split-irq" device
authorThomas Huth <[email protected]>
Tue, 14 May 2019 08:24:28 +0000 (10:24 +0200)
committerThomas Huth <[email protected]>
Tue, 20 Aug 2019 07:11:17 +0000 (09:11 +0200)
The "split-irq" device is currently only used by machines that use
CONFIG_ARMSSE. Let's add a proper CONFIG_SPLIT_IRQ switch for this
so that it only gets compiled when we really need it.

Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-Id: <20190817101931[email protected]>
Signed-off-by: Thomas Huth <[email protected]>
hw/arm/Kconfig
hw/core/Kconfig
hw/core/Makefile.objs

index 849195c3f6bb9f7ad12f20d001fed340cce81f30..6e24c73b5459b000b49e384c18faa0f305671edb 100644 (file)
@@ -81,6 +81,7 @@ config MUSCA
     select ARMSSE
     select PL011
     select PL031
+    select SPLIT_IRQ
 
 config MUSICPAL
     bool
@@ -364,6 +365,7 @@ config MPS2
     select OR_IRQ
     select PL022    # Serial port
     select PL080    # DMA controller
+    select SPLIT_IRQ
 
 config FSL_IMX7
     bool
@@ -442,6 +444,7 @@ config ARMSSE
     select IOTKIT_SYSCTL
     select IOTKIT_SYSINFO
     select OR_IRQ
+    select SPLIT_IRQ
     select TZ_MPC
     select TZ_MSC
     select TZ_PPC
index 984143456ae98e832c6e2f6000d4460ab43d0148..fffb3d62b27b38db2e77be1859793ed45968a137 100644 (file)
@@ -15,3 +15,6 @@ config PLATFORM_BUS
 
 config REGISTER
     bool
+
+config SPLIT_IRQ
+    bool
index ce337bd7c9980e1498555dacd15ca127237c8ce5..bb1afe422ab790be78645eb71214e4ca102635b0 100644 (file)
@@ -19,7 +19,7 @@ common-obj-$(CONFIG_FITLOADER) += loader-fit.o
 common-obj-$(CONFIG_SOFTMMU) += qdev-properties-system.o
 common-obj-$(CONFIG_REGISTER) += register.o
 common-obj-$(CONFIG_OR_IRQ) += or-irq.o
-common-obj-$(CONFIG_SOFTMMU) += split-irq.o
+common-obj-$(CONFIG_SPLIT_IRQ) += split-irq.o
 common-obj-$(CONFIG_PLATFORM_BUS) += platform-bus.o
 common-obj-$(CONFIG_SOFTMMU) += generic-loader.o
 common-obj-$(CONFIG_SOFTMMU) += null-machine.o
This page took 0.028793 seconds and 4 git commands to generate.