summaryrefslogtreecommitdiff
path: root/zephyr/Kconfig
diff options
context:
space:
mode:
authorYuval Peress <peress@chromium.org>2021-05-31 22:57:41 -0600
committerCommit Bot <commit-bot@chromium.org>2021-06-04 22:12:33 +0000
commitc635e1b5ed366d283d669c2dd739261398707d77 (patch)
treebb80b05b2f8355cfbee43f3664791843620255d1 /zephyr/Kconfig
parent0716683f2d0fda8aad6ec4e6634a723d33ebbf42 (diff)
downloadchrome-ec-c635e1b5ed366d283d669c2dd739261398707d77.tar.gz
zephyr: npcx9: add kconfig option for flash api workaround
This is needed for the ES1 version of the npcx9 chip. BRANCH=none BUG=b:188605676 TEST=none Signed-off-by: Yuval Peress <peress@chromium.org> Change-Id: I80ddc717165788248f8260050fc55ffb0bd4d11e Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2927770 Reviewed-by: Keith Short <keithshort@chromium.org> Commit-Queue: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'zephyr/Kconfig')
-rw-r--r--zephyr/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/zephyr/Kconfig b/zephyr/Kconfig
index 24b807d71a..fffad02861 100644
--- a/zephyr/Kconfig
+++ b/zephyr/Kconfig
@@ -627,6 +627,14 @@ menuconfig PLATFORM_EC_WATCHDOG
(PLATFORM_EC_WATCHDOG_PERIOD_MS -
PLATFORM_EC_WATCHDOG_WARNING_LEADING_TIME_MS).
+config PLATFORM_EC_WORKAROUND_FLASH_DOWNLOAD_API
+ bool "Workaround needed for npcx9 ES1 chip"
+ depends on SOC_SERIES_NPCX9
+ help
+ There's a bug in the flash download API on the ES1 version of the
+ npcx9 chips that requires some workarounds. This is needed for sysjump
+ to work properly.
+
config PLATFORM_EC_ASSERT_CCD_MODE_ON_DTS_CONNECT
bool "Assert CCD Mode"
help