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

@ -8,3 +8,4 @@ config SOC_APOLLO_LAKE
bool "Intel Apollo Lake Soc"
select CPU_APOLLO_LAKE
select BOOTLOADER_UNKNOWN
select HAS_I2C_DW