boards/up_squared: soc/apollo_lake: I2C driver selection at SoC

While enabling specific I2C ports does indeed belong at the board
level Kconfig, the selection of driver (I2C_DW) is an SoC-level
choice, so it is moved accordingly.

Signed-off-by: Charles E. Youse <charles.youse@intel.com>
This commit is contained in:
Charles E. Youse 2019-05-23 14:02:49 -07:00 committed by Anas Nashif
commit 0fcc484944
2 changed files with 7 additions and 3 deletions

View file

@ -20,9 +20,6 @@ endif # UART_NS16550
if I2C
config I2C_DW
default y
config I2C_0
default y

View file

@ -26,6 +26,13 @@ config X86_DYNAMIC_IRQ_STUBS
endif # DYNAMIC_INTERRUPTS
if I2C
config I2C_DW
default y
endif # I2C
if GPIO
config GPIO_INTEL_APL