summaryrefslogtreecommitdiffstats
path: root/commands/Makefile
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-04-17 11:13:55 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2013-04-17 13:37:14 +0200
commit67c6eeda9e5dea544cdeddb666f141c8467ab8d4 (patch)
tree922204f7ce006e731fb8eff27a69f460749b3e89 /commands/Makefile
parente10c1845b2351099c2097fe29629983002b63a37 (diff)
downloadbarebox-67c6eeda9e5dea544cdeddb666f141c8467ab8d4.tar.gz
barebox-67c6eeda9e5dea544cdeddb666f141c8467ab8d4.tar.xz
Add memory modify command (mm)
As of now we have no way to manipulate individual bits of registers on the command line. This introduces a memory modify command which allows this. It has the syntax: mm [OPTIONS] <adr> <val> <mask> With [OPTIONS] being the usual memory command options (-b, -w, -l, -d <file>). Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/Makefile')
-rw-r--r--commands/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/commands/Makefile b/commands/Makefile
index beec8e9639..953ecc284b 100644
--- a/commands/Makefile
+++ b/commands/Makefile
@@ -8,6 +8,7 @@ obj-$(CONFIG_CMD_LOADS) += loads.o
obj-$(CONFIG_CMD_ECHO) += echo.o
obj-$(CONFIG_CMD_MEMORY) += mem.o
obj-$(CONFIG_CMD_MD) += md.o
+obj-$(CONFIG_CMD_MM) += mm.o
obj-$(CONFIG_CMD_MW) += mw.o
obj-$(CONFIG_CMD_MEMCMP) += memcmp.o
obj-$(CONFIG_CMD_MEMCPY) += memcpy.o