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:
parent
a058219245
commit
90dc1e5d7a
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue