]> Git Repo - qemu.git/commitdiff
hw/core: Add a config switch for the "register" device
authorThomas Huth <[email protected]>
Tue, 14 May 2019 05:59:34 +0000 (07:59 +0200)
committerThomas Huth <[email protected]>
Tue, 20 Aug 2019 07:11:05 +0000 (09:11 +0200)
The "register" device is only used by certain machines. Let's add
a proper config switch for it so that it only gets compiled when we
really need it.

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

index dbae1c08526361fc790b9e20e6e0c8c9a32fab34..b45db3c813ff04497e0082b8e9a994b4537b0f38 100644 (file)
@@ -76,3 +76,4 @@ config XILINX_AXI
 
 config XLNX_ZYNQMP
     bool
+    select REGISTER
index c2a1ae81221c48fecbfe5ee04b339a9c053221fe..d11920fcb333811d2158293d5c16da724d28f35f 100644 (file)
@@ -9,3 +9,6 @@ config FITLOADER
 
 config PLATFORM_BUS
     bool
+
+config REGISTER
+    bool
index f8481d959f6068cb0c4e38dfeaf0d70240ffa634..d6cfb2a81b2456304206adbc6b9930f5882e5cc8 100644 (file)
@@ -17,7 +17,7 @@ common-obj-$(CONFIG_SOFTMMU) += machine.o
 common-obj-$(CONFIG_SOFTMMU) += loader.o
 common-obj-$(CONFIG_FITLOADER) += loader-fit.o
 common-obj-$(CONFIG_SOFTMMU) += qdev-properties-system.o
-common-obj-$(CONFIG_SOFTMMU) += register.o
+common-obj-$(CONFIG_REGISTER) += register.o
 common-obj-$(CONFIG_SOFTMMU) += or-irq.o
 common-obj-$(CONFIG_SOFTMMU) += split-irq.o
 common-obj-$(CONFIG_PLATFORM_BUS) += platform-bus.o
index 751dec54264094aba530dfe1e6cd948bd394745b..5c61b67bc0509e7fcdcfda3cdc867b4b0cb544ab 100644 (file)
@@ -16,6 +16,7 @@ config I8257
 
 config ZYNQ_DEVCFG
     bool
+    select REGISTER
 
 config STP2000
     bool
This page took 0.028543 seconds and 4 git commands to generate.