summaryrefslogtreecommitdiff
path: root/cmd/Kconfig
diff options
context:
space:
mode:
authorAdam Ford <aford173@gmail.com>2019-08-14 15:54:34 +0300
committerTom Rini <trini@konsulko.com>2019-08-23 23:45:40 +0300
commit78f28773a55db9ed434e7b1920b94bb95167844f (patch)
tree53fc282a4dc2bed3436284ee5353e75fdcb965b1 /cmd/Kconfig
parent3f70bef1b8c2519fe34a16937457342629303e62 (diff)
downloadu-boot-78f28773a55db9ed434e7b1920b94bb95167844f.tar.xz
Convert CONFIG_MX_CYCLIC to Kconfig
This converts the following to Kconfig: CONFIG_MX_CYCLIC Signed-off-by: Adam Ford <aford173@gmail.com> Acked-by: David Lechner <david@lechnology.com>
Diffstat (limited to 'cmd/Kconfig')
-rw-r--r--cmd/Kconfig14
1 files changed, 14 insertions, 0 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 041de1d831..05872fa0d7 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -611,6 +611,20 @@ config CMD_MEMORY
base - print or set address offset
loop - initialize loop on address range
+config MX_CYCLIC
+ bool "Enable cyclic md/mw commands"
+ depends on CMD_MEMORY
+ help
+ Add the "mdc" and "mwc" memory commands. These are cyclic
+ "md/mw" commands.
+ Examples:
+
+ => mdc.b 10 4 500
+ This command will print 4 bytes (10,11,12,13) each 500 ms.
+
+ => mwc.l 100 12345678 10
+ This command will write 12345678 to address 100 all 10 ms.
+
config CMD_RANDOM
bool "random"
default y