diff options
author | Wealian Liao <whliao@nuvoton.corp-partner.google.com> | 2021-08-02 15:50:07 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-08-05 02:33:22 +0000 |
commit | ed0b953282d7f01c5e7bbfe4a8bd5a0bc6592479 (patch) | |
tree | 43828a597dcb923239e1c514c9843d482c4a607f /zephyr/projects/npcx_evb/npcx9/prj.conf | |
parent | 6ec73da402959b74acd48e86c438c8b919065625 (diff) | |
download | chrome-ec-ed0b953282d7f01c5e7bbfe4a8bd5a0bc6592479.tar.gz |
zephyr: npcx_evb: Enable scratchpad console cmd
This CL enables scratchpad console cmd for npcx7/9_evb.
BUG=none
BRANCH=none
TEST=1. set value by 'scratchpad 0x5a'
2. 'reboot'
3. check the value is the same by 'scratchpad'
Signed-off-by: Wealian Liao <whliao@nuvoton.corp-partner.google.com>
Change-Id: I41a3fd0669f0d257f624b242332e9108bc02caed
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3067157
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Reviewed-by: Yuval Peress <peress@chromium.org>
Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'zephyr/projects/npcx_evb/npcx9/prj.conf')
-rw-r--r-- | zephyr/projects/npcx_evb/npcx9/prj.conf | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/zephyr/projects/npcx_evb/npcx9/prj.conf b/zephyr/projects/npcx_evb/npcx9/prj.conf index d7fcd3ea69..b9c8b61efd 100644 --- a/zephyr/projects/npcx_evb/npcx9/prj.conf +++ b/zephyr/projects/npcx_evb/npcx9/prj.conf @@ -33,6 +33,9 @@ CONFIG_SENSOR=y CONFIG_SENSOR_SHELL=n CONFIG_PLATFORM_EC_FAN=y +# Console command +CONFIG_PLATFORM_EC_CONSOLE_CMD_SCRATCHPAD=y + # Zephyr feature CONFIG_ASSERT=y CONFIG_SHELL_MINIMAL=n |