diff options
author | Yuval Peress <peress@chromium.org> | 2021-04-06 13:00:30 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-04-07 01:42:05 +0000 |
commit | 4e412c42d5e2c14a8b3f0ad001435e2d8f88f58c (patch) | |
tree | 8347c7a4bddf219bf749ce566917bb4a89f93049 /zephyr/Kconfig.console_cmd_mem | |
parent | 0f2a90bb2a1fd35f5f63c0e1b8fa7630d139a2c0 (diff) | |
download | chrome-ec-4e412c42d5e2c14a8b3f0ad001435e2d8f88f58c.tar.gz |
zephyr: kconfig: move console_cmd_mem configs to separate file
Clean up the root Kconfig for Zephyr by moving sub configs to separate
file (Kconfig.console_cmd_mem).
BRANCH=none
BUG=none
TEST=zmake testall
Change-Id: Id9abef7be1943eee42fe6a31cf0488f4b7209a42
Signed-off-by: Yuval Peress <peress@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2808144
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'zephyr/Kconfig.console_cmd_mem')
-rw-r--r-- | zephyr/Kconfig.console_cmd_mem | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/zephyr/Kconfig.console_cmd_mem b/zephyr/Kconfig.console_cmd_mem new file mode 100644 index 0000000000..4b69cc1778 --- /dev/null +++ b/zephyr/Kconfig.console_cmd_mem @@ -0,0 +1,32 @@ +# Copyright 2021 The Chromium OS Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +if PLATFORM_EC_CONSOLE_CMD_MEM +config PLATFORM_EC_CONSOLE_CMD_MD + bool "Console command: md" + default y + help + Enable the "md" command. This dumps memory value from a specified + address, optionally specifying the format. + + Example: + md 0x64000000 10 + + 64000000: 2a3b4d5e 030054e1 07000000 09297110 + 64000010: 00000010 03db4f00 03db5000 00000100 + 64000020: 00000000 00000000 + +config PLATFORM_EC_CONSOLE_CMD_RW + bool "Console command: rw" + default y + help + Enable the "rw" command. This Read or write in memory optionally + specifying the size. + + Example: + rw 0x64000000 + + read 0x64000000 = 0x2a3b4d5e + +endif # PLATFORM_EC_CONSOLE_CMD_MEM |