dts: i2c: fix build issue by defaulting HAS_DTS_I2C to n

Commit 1bc2fdc70 ("dts: arm: STM32 boards use DT to configure I2C")
added a new Kconfig option, HAS_DTS_I2C, which should be set when the
target supports configuration of I2C peripherals via Device Tree.

Currently, STM32 targets select this. However, the fact that
HAS_DTS_I2C has no default is causing prompting when building Zephyr
on other targets with DTS. To avoid this and allow builds to complete
as usual, have HAS_DTS_I2C default to n.

Signed-off-by: Marti Bolivar <marti.bolivar@linaro.org>
This commit is contained in:
Marti Bolivar 2017-07-12 10:39:19 -04:00 committed by Kumar Gala
commit 4995820acf

View file

@ -17,6 +17,7 @@ config HAS_DTS
config HAS_DTS_I2C
bool "I2C uses Device Tree"
default n
depends on HAS_DTS
help
This option specifies that the target platform supports device tree