From 8da398a996574112ac0841849fde95ed5b31ae14 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Mon, 11 May 2020 17:12:23 +0300 Subject: [PATCH] soc: x86: apollo_lake: Make it possible to disable I2C support 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 #25204 Signed-off-by: Johan Hedberg --- soc/x86/apollo_lake/Kconfig.soc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/soc/x86/apollo_lake/Kconfig.soc b/soc/x86/apollo_lake/Kconfig.soc index b1ca21915368c8..afa30099c9e04a 100644 --- a/soc/x86/apollo_lake/Kconfig.soc +++ b/soc/x86/apollo_lake/Kconfig.soc @@ -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