summaryrefslogtreecommitdiff
path: root/zephyr/shim/include
diff options
context:
space:
mode:
authorKeith Short <keithshort@chromium.org>2021-07-09 14:57:38 -0600
committerCommit Bot <commit-bot@chromium.org>2021-07-12 15:42:12 +0000
commit613a10bce601bf20be198469982733d059e5bc36 (patch)
tree74026ecdb64f51ed99f4811db639d69332f7cbbc /zephyr/shim/include
parent8b81257ffd943e6ad301b647ef31338df13433b5 (diff)
downloadchrome-ec-613a10bce601bf20be198469982733d059e5bc36.tar.gz
zephyr: add support for CONFIG_CMD_S5_TIMEOUT
Add a Kconfig option to control the CONFIG_CMD_S5_TIMEOUT option. BUG=b:193195946 BRANCH=none TEST=zmake testall TEST=make buildall Signed-off-by: Keith Short <keithshort@chromium.org> Change-Id: I2f4b8c74a9b710f68d8e07e04d9cb95ca2e39dea Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3015869 Reviewed-by: Denis Brockus <dbrockus@chromium.org> Reviewed-by: Yuval Peress <peress@chromium.org>
Diffstat (limited to 'zephyr/shim/include')
-rw-r--r--zephyr/shim/include/config_chip.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/zephyr/shim/include/config_chip.h b/zephyr/shim/include/config_chip.h
index 89f2ad4d52..f04e5f9945 100644
--- a/zephyr/shim/include/config_chip.h
+++ b/zephyr/shim/include/config_chip.h
@@ -1713,4 +1713,9 @@
CONFIG_PLATFORM_EC_TEMP_SENSOR_FIRST_READ_DELAY_MS
#endif
+#undef CONFIG_CMD_S5_TIMEOUT
+#ifdef CONFIG_PLATFORM_EC_CONSOLE_CMD_S5_TIMEOUT
+#define CONFIG_CMD_S5_TIMEOUT
+#endif
+
#endif /* __CROS_EC_CONFIG_CHIP_H */