diff options
author | Wealian Liao <whliao@nuvoton.corp-partner.google.com> | 2021-07-08 16:05:33 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-08-02 23:09:48 +0000 |
commit | 9010da429dc83dab3e961d76987f809cc3d4379a (patch) | |
tree | 4d51f3539bfc4e5b197e58ae51bcb30961cad6b7 /zephyr/shim | |
parent | 81ea35f9c0ca50aa3c7013beaf8cd4decd821fc3 (diff) | |
download | chrome-ec-9010da429dc83dab3e961d76987f809cc3d4379a.tar.gz |
zephyr: Add scratchpad console command enable option
This CL adds scratchpad console command enable options in Kconfig.
BUG=none
BRANCH=none
TEST=zmake testall
Signed-off-by: Wealian Liao <whliao@nuvoton.corp-partner.google.com>
Change-Id: I5d7e536298f74d93e420b90c72702df80f02fa4c
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3067155
Reviewed-by: Yuval Peress <peress@chromium.org>
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'zephyr/shim')
-rw-r--r-- | zephyr/shim/include/config_chip.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/zephyr/shim/include/config_chip.h b/zephyr/shim/include/config_chip.h index b81ff93eeb..f49e1a05d8 100644 --- a/zephyr/shim/include/config_chip.h +++ b/zephyr/shim/include/config_chip.h @@ -1504,6 +1504,11 @@ #define CONFIG_CMD_SYSINFO #endif +#undef CONFIG_CMD_SCRATCHPAD +#ifdef CONFIG_PLATFORM_EC_CONSOLE_CMD_SCRATCHPAD +#define CONFIG_CMD_SCRATCHPAD +#endif + #undef CONFIG_CMD_SYSJUMP #ifdef CONFIG_PLATFORM_EC_CONSOLE_CMD_SYSJUMP #define CONFIG_CMD_SYSJUMP |