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 <daniel.leung@intel.com>
This commit is contained in:
Daniel Leung 2019-11-26 14:34:40 -08:00 committed by Anas Nashif
commit 90dc1e5d7a

View file

@ -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