diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2015-05-27 11:18:33 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-05-28 12:29:49 +0200 |
commit | 8141d2956eb58c65080c377f772f78471e2c3bbb (patch) | |
tree | 81f2e4aeace68d6b34a83fb8cb3dc764d2323195 /commands/mem.c | |
parent | 0228ccccdd64e69f30d4da1df2ed92660a493839 (diff) | |
download | barebox-8141d2956eb58c65080c377f772f78471e2c3bbb.tar.gz barebox-8141d2956eb58c65080c377f772f78471e2c3bbb.tar.xz |
mem commands: suppport parsing 'q' option
Add 64bit ('q', for quad) support to mem_parse_options
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/mem.c')
-rw-r--r-- | commands/mem.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/commands/mem.c b/commands/mem.c index 568050d34b..23c703f0b5 100644 --- a/commands/mem.c +++ b/commands/mem.c @@ -84,6 +84,9 @@ int mem_parse_options(int argc, char *argv[], char *optstr, int *mode, case 'l': *mode = O_RWSIZE_4; break; + case 'q': + *mode = O_RWSIZE_8; + break; case 's': *sourcefile = optarg; break; |