aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2019-01-29 12:16:25 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2019-03-07 21:45:53 +0100
commit1001800cc66668ec72d1a0e55a0e0532308e04d0 (patch)
tree3c6ff5192310d50984d3e1bac7181c7e897acf88
parentdd0ff8191abb040cddeedb84a2ba61c52791075e (diff)
ssi: express dependencies with kconfig
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r--default-configs/arm-softmmu.mak1
-rw-r--r--default-configs/microblaze-softmmu.mak1
-rw-r--r--hw/sd/Kconfig1
-rw-r--r--hw/ssi/Kconfig4
4 files changed, 5 insertions, 2 deletions
diff --git a/default-configs/arm-softmmu.mak b/default-configs/arm-softmmu.mak
index 40e1a1abed..8bb4fd1926 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 a4a67705ba..7140ef3199 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 c6c5dfb09f..8f12d9c1bb 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 5a03110a8d..9e54a0c8dd 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