zephyr/boards/arc/em_starterkit/Kconfig.defconfig
Kumar Gala 5c57a36f9d i2c: remove Kconfig.defconfig setting of I2C drivers
Now that I2C drivers are enabled based on devicetree
we need to remove any cases of them getting enabled by
Kconfig.defconfig* files as this can lead to errors.

Typically the Kconfig.defconfig* will blindly enable a
sensor and not respect the devicetree state of the I2C.
Additionally we can get problems with prj.conf/defconfig
getting incorrectly overridden.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-08-01 18:01:44 +02:00

33 lines
363 B
Plaintext

# SPDX-License-Identifier: Apache-2.0
if BOARD_EM_STARTERKIT
config BOARD
default "em_starterkit"
if GPIO
config GPIO_INIT_PRIORITY
default 70
endif # GPIO
if I2C_DW
config I2C_DW_CLOCK_SPEED
default 100
endif # I2C_DW
if SPI_DW
config SPI_DW_FIFO_DEPTH
default 32
config SPI_DW_ARC_AUX_REGS
default n
endif # SPI_DW
endif # BOARD_EM_STARTERKIT