diff mbox series

[26/51] ssi: express dependencies with kconfig

Message ID 1549562254-41157-27-git-send-email-pbonzini@redhat.com
State New
Headers show
Series Support Kconfig in QEMU | expand

Commit Message

Paolo Bonzini Feb. 7, 2019, 5:57 p.m. UTC
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
 default-configs/arm-softmmu.mak        | 1 -
 default-configs/microblaze-softmmu.mak | 1 -
 hw/sd/Kconfig                          | 1 +
 hw/ssi/Kconfig                         | 4 ++++
 4 files changed, 5 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/default-configs/arm-softmmu.mak b/default-configs/arm-softmmu.mak
index c1871c7..3491403 100644
--- a/default-configs/arm-softmmu.mak
+++ b/default-configs/arm-softmmu.mak
@@ -24,7 +24,6 @@  CONFIG_DDC=y
 CONFIG_SII9022=y
 CONFIG_ADS7846=y
 CONFIG_MAX111X=y
-CONFIG_SSI=y
 CONFIG_SSI_SD=y
 CONFIG_SSI_M25P80=y
 CONFIG_LAN9118=y
diff --git a/default-configs/microblaze-softmmu.mak b/default-configs/microblaze-softmmu.mak
index a4a6770..7140ef3 100644
--- a/default-configs/microblaze-softmmu.mak
+++ b/default-configs/microblaze-softmmu.mak
@@ -6,7 +6,6 @@  CONFIG_XILINX=y
 CONFIG_XILINX_AXI=y
 CONFIG_XILINX_SPI=y
 CONFIG_XILINX_ETHLITE=y
-CONFIG_SSI=y
 CONFIG_SSI_M25P80=y
 CONFIG_XLNX_ZYNQMP=y
 CONFIG_PETALOGIX_S3ADSP1800=y
diff --git a/hw/sd/Kconfig b/hw/sd/Kconfig
index c6c5dfb..8f12d9c 100644
--- a/hw/sd/Kconfig
+++ b/hw/sd/Kconfig
@@ -3,6 +3,7 @@  config PL181
 
 config SSI_SD
     bool
+    depends on SSI
 
 config SD
     bool
diff --git a/hw/ssi/Kconfig b/hw/ssi/Kconfig
index 5a03110..9e54a0c 100644
--- a/hw/ssi/Kconfig
+++ b/hw/ssi/Kconfig
@@ -1,14 +1,18 @@ 
 config PL022
     bool
+    select SSI
 
 config SSI
     bool
 
 config XILINX_SPI
     bool
+    select SSI
 
 config XILINX_SPIPS
     bool
+    select SSI
 
 config STM32F2XX_SPI
     bool
+    select SSI