Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Charles E. Youse authored and nashif committed Jun 1, 2019
1 parent 2b01e06 commit 0fcc484
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
3 changes: 0 additions & 3 deletions boards/x86/up_squared/Kconfig.defconfig
Expand Up @@ -20,9 +20,6 @@ endif # UART_NS16550

if I2C

config I2C_DW
default y

config I2C_0
default y

Expand Down
7 changes: 7 additions & 0 deletions soc/x86/apollo_lake/Kconfig.defconfig
Expand Up @@ -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
Expand Down

0 comments on commit 0fcc484

Please sign in to comment.