From 90dc1e5d7a9d0ca5cbc8193a93c5811ab7e6ae73 Mon Sep 17 00:00:00 2001 From: Daniel Leung Date: Tue, 26 Nov 2019 14:34:40 -0800 Subject: [PATCH] soc: intel_s1000_crb: fix cmake warning about HAS_*_DW Both HAS_I2C_DW and HAS_SPI_DW are not valid unless I2C and SPI are both selected. So make them dependent on the parent subsystem config. Signed-off-by: Daniel Leung --- soc/xtensa/intel_s1000/Kconfig.soc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/soc/xtensa/intel_s1000/Kconfig.soc b/soc/xtensa/intel_s1000/Kconfig.soc index bf46abfec7d..e19f8707340 100644 --- a/soc/xtensa/intel_s1000/Kconfig.soc +++ b/soc/xtensa/intel_s1000/Kconfig.soc @@ -3,5 +3,5 @@ config SOC_INTEL_S1000 bool "intel_s1000" - select HAS_I2C_DW - select HAS_SPI_DW + select HAS_I2C_DW if I2C + select HAS_SPI_DW if SPI