summaryrefslogtreecommitdiff
path: root/zephyr/boards/arm/npcx_evb/npcx9_evb_defconfig
diff options
context:
space:
mode:
authorFabio Baltieri <fabiobaltieri@google.com>2022-11-11 15:13:10 +0000
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-11-14 10:33:27 +0000
commit62eb3b6338ba083d156ea63a32748996eab0741d (patch)
treedea4a609e86a07438cb00439a121b89dc54c25b7 /zephyr/boards/arm/npcx_evb/npcx9_evb_defconfig
parent31223f411e8b554dfcfd8d84251943bc7697c44b (diff)
downloadchrome-ec-62eb3b6338ba083d156ea63a32748996eab0741d.tar.gz
zephyr: Kconfig: enable PLATFORM_EC_I2C automatically
Enable PLATFORM_EC_I2C automatically based on the presence of the named-i2c-node, select I2C automatically as well, drop all the now redundant config options and safety checks. Note that the DT_PATH check is not exactly equivalent to the DT_HAS_NAMED_I2C_PORTS_ENABLED dependency, will address that in a followup patch. BRANCH=none BUG=none TEST=cq dry run Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com> Change-Id: I38e9725e63a02caae8f5efb1224262ee0430efb2 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4023447 Reviewed-by: Jeremy Bettis <jbettis@chromium.org> Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>
Diffstat (limited to 'zephyr/boards/arm/npcx_evb/npcx9_evb_defconfig')
-rw-r--r--zephyr/boards/arm/npcx_evb/npcx9_evb_defconfig3
1 files changed, 0 insertions, 3 deletions
diff --git a/zephyr/boards/arm/npcx_evb/npcx9_evb_defconfig b/zephyr/boards/arm/npcx_evb/npcx9_evb_defconfig
index 369c88e3cb..c39b9997f4 100644
--- a/zephyr/boards/arm/npcx_evb/npcx9_evb_defconfig
+++ b/zephyr/boards/arm/npcx_evb/npcx9_evb_defconfig
@@ -37,9 +37,6 @@ CONFIG_CLOCK_CONTROL=y
# WATCHDOG configuration
CONFIG_WATCHDOG=y
-# I2C
-CONFIG_I2C=y
-
# PWM
CONFIG_PWM=y
CONFIG_PWM_SHELL=n