From 78f28773a55db9ed434e7b1920b94bb95167844f Mon Sep 17 00:00:00 2001 From: Adam Ford Date: Wed, 14 Aug 2019 07:54:34 -0500 Subject: Convert CONFIG_MX_CYCLIC to Kconfig This converts the following to Kconfig: CONFIG_MX_CYCLIC Signed-off-by: Adam Ford Acked-by: David Lechner --- cmd/Kconfig | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'cmd') diff --git a/cmd/Kconfig b/cmd/Kconfig index 041de1d831e..05872fa0d7f 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 -- cgit v1.2.3