From 1001800cc66668ec72d1a0e55a0e0532308e04d0 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Tue, 29 Jan 2019 12:16:25 +0100 Subject: [PATCH] ssi: express dependencies with kconfig Signed-off-by: Paolo Bonzini --- 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 --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