Skip to content

Commit 0fcc484

Browse files
Charles E. Yousenashif
authored andcommitted
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 <[email protected]>
1 parent 2b01e06 commit 0fcc484

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

boards/x86/up_squared/Kconfig.defconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@ endif # UART_NS16550
2020

2121
if I2C
2222

23-
config I2C_DW
24-
default y
25-
2623
config I2C_0
2724
default y
2825

soc/x86/apollo_lake/Kconfig.defconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,13 @@ config X86_DYNAMIC_IRQ_STUBS
2626

2727
endif # DYNAMIC_INTERRUPTS
2828

29+
if I2C
30+
31+
config I2C_DW
32+
default y
33+
34+
endif # I2C
35+
2936
if GPIO
3037

3138
config GPIO_INTEL_APL

0 commit comments

Comments
 (0)