summaryrefslogtreecommitdiff
path: root/zephyr
diff options
context:
space:
mode:
authorEric Yilun Lin <yllin@chromium.org>2021-11-25 14:46:10 +0800
committerCommit Bot <commit-bot@chromium.org>2022-01-07 06:38:28 +0000
commitcff29f4de33babe47c87d90c0b49a9614b308edc (patch)
tree90661835fa9e61507271e5f584ec3c44fcf8670d /zephyr
parent0275aed7b0aa790c8b745f4fca81f302187d5931 (diff)
downloadchrome-ec-cff29f4de33babe47c87d90c0b49a9614b308edc.tar.gz
zephyr: kingler: enable host command
BUG=b:203739613 TEST=hostcommand is working at AP<->EC BRANCH=main Change-Id: I87e98dccb3156c5134c565cc7b8632b76f76cab0 Signed-off-by: Eric Yilun Lin <yllin@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3302220 Reviewed-by: Ting Shen <phoenixshen@chromium.org> Commit-Queue: Eric Yilun Lin <yllin@google.com> Tested-by: Eric Yilun Lin <yllin@google.com> Auto-Submit: Eric Yilun Lin <yllin@google.com>
Diffstat (limited to 'zephyr')
-rw-r--r--zephyr/projects/corsola/include/gpio_map.h2
-rw-r--r--zephyr/projects/corsola/prj_kingler.conf3
2 files changed, 4 insertions, 1 deletions
diff --git a/zephyr/projects/corsola/include/gpio_map.h b/zephyr/projects/corsola/include/gpio_map.h
index 75cad8451b..8fda7b77d0 100644
--- a/zephyr/projects/corsola/include/gpio_map.h
+++ b/zephyr/projects/corsola/include/gpio_map.h
@@ -42,7 +42,7 @@
GPIO_INT_EDGE_BOTH, \
spi_event)
#elif defined(CONFIG_SOC_NPCX9M3F)
- /* TODO(b:203619750): enable SPI interrupt */
+ /* The interrupt is configured by dts */
#define AP_SPI_INT()
#endif
diff --git a/zephyr/projects/corsola/prj_kingler.conf b/zephyr/projects/corsola/prj_kingler.conf
index c13b81959c..33dc32e305 100644
--- a/zephyr/projects/corsola/prj_kingler.conf
+++ b/zephyr/projects/corsola/prj_kingler.conf
@@ -30,6 +30,9 @@ CONFIG_PLATFORM_EC_VBOOT_EFS2=n
CONFIG_ADC=y
CONFIG_PLATFORM_EC_ADC=y
+# Host command
+CONFIG_PLATFORM_EC_HOSTCMD=y
+
# I2C
CONFIG_I2C=y
CONFIG_PLATFORM_EC_I2C=y