summaryrefslogtreecommitdiffstats
path: root/commands/Kconfig
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-04-17 11:10:43 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2013-04-17 13:36:31 +0200
commite10c1845b2351099c2097fe29629983002b63a37 (patch)
tree5def9d940a6553f02b01c9eb09fb3575a80037bc /commands/Kconfig
parent81c118aa9e2090d7bca7f164c6917ae2912d31ff (diff)
downloadbarebox-e10c1845b2351099c2097fe29629983002b63a37.tar.gz
barebox-e10c1845b2351099c2097fe29629983002b63a37.tar.xz
memory commands: separate into one file per command
Normally in commands we have one file per command which is named like the command itself. The memory commands are an exception to this. This patch changes this by separating the memory commands. This also has the effect that the memory commands can now be selected individually. Along the way we add some Kconfig help text for the commmands. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/Kconfig')
-rw-r--r--commands/Kconfig42
1 files changed, 41 insertions, 1 deletions
diff --git a/commands/Kconfig b/commands/Kconfig
index 00627580ef..fe171d8589 100644
--- a/commands/Kconfig
+++ b/commands/Kconfig
@@ -303,7 +303,47 @@ config CMD_IOMEM
config CMD_MEMORY
bool
default y
- prompt "md and mw"
+
+config CMD_MD
+ tristate
+ default y
+ select CMD_MEMORY
+ prompt "md"
+ help
+ the md command allows to display (hexdump) memory locations and files.
+
+config CMD_MW
+ tristate
+ default y
+ select CMD_MEMORY
+ prompt "mw"
+ help
+ the mw command allows to write to memory locations and files.
+
+config CMD_MEMCMP
+ tristate
+ default y
+ select CMD_MEMORY
+ prompt "memcmp"
+ help
+ the memcmp command allows to compare memory and file regions.
+
+config CMD_MEMCPY
+ tristate
+ default y
+ select CMD_MEMORY
+ prompt "memcpy"
+ help
+ the memcpy command allows to copy memory and file regions.
+
+config CMD_MEMSET
+ tristate
+ default y
+ select CMD_MEMORY
+ prompt "memset"
+ help
+ the memset command allows to set regions of memory and files to
+ a specific value.
config CMD_CRC
tristate