kconfig: Hide the DesignWare I2C driver on unsupported platforms

When users are configuring nRF applications they are given the option
to enable the DesignWare I2C driver. But they should not be given this
option because nRF SoCs do not have DesignWare I2C HW.

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

Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
This commit is contained in:
Sebastian Bøe 2018-10-19 14:05:26 +02:00 committed by Kumar Gala
commit b9c125f64c
6 changed files with 12 additions and 1 deletions

View file

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