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:
parent
16e6abbcfb
commit
4995820acf
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue