Skip to content

Commit

Permalink
soc: x86: apollo_lake: Make it possible to disable I2C support
Browse files Browse the repository at this point in the history
Make it possible for an application to set CONFIG_I2C=n if it wants.
The unconditional select was making this impossible due to resulting
unmet dependencies.

This is also in line with what some other SoC definitions do with I2C.

Fixes zephyrproject-rtos#25204

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
  • Loading branch information
Johan Hedberg authored and hakehuang committed Jun 20, 2020
1 parent ee5bdea commit 8da398a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion soc/x86/apollo_lake/Kconfig.soc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ config SOC_APOLLO_LAKE
bool "Intel Apollo Lake Soc"
select X86
select CPU_APOLLO_LAKE
select HAS_I2C_DW
select HAS_I2C_DW if I2C
select PCIE
select PCIE_MSI
select DYNAMIC_INTERRUPTS

0 comments on commit 8da398a

Please sign in to comment.