kconfig: Hide the DesignWare SPI driver on unsupported platforms

When users are configuring applications they are given the option
to enable the DesignWare SPI driver. But they should not be given this
option on SoCs that don't have the DesignWare SPI HW.

This commit hides the driver by default by introducing the config
option HAS_SPI_DW.

Fixes: #10825

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2018-11-20 10:56:37 -06:00 committed by Anas Nashif
commit 5f09eae7a1
6 changed files with 12 additions and 0 deletions

View file

@ -4,4 +4,5 @@
config SOC_INTEL_S1000
bool "intel_s1000"
select HAS_I2C_DW
select HAS_SPI_DW