mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] mw command: add `-x` option description
@ 2018-05-23 11:45 Peter Mamonov
  2018-05-24  5:41 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Mamonov @ 2018-05-23 11:45 UTC (permalink / raw)
  To: barebox; +Cc: Peter Mamonov

Signed-off-by: Peter Mamonov <pmamonov@gmail.com>
---
 commands/mw.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/commands/mw.c b/commands/mw.c
index bb6a16ef3..7ff589abb 100644
--- a/commands/mw.c
+++ b/commands/mw.c
@@ -107,12 +107,13 @@ BAREBOX_CMD_HELP_OPT ("-w",  "word access (16 bit)")
 BAREBOX_CMD_HELP_OPT ("-l",  "long access (32 bit)")
 BAREBOX_CMD_HELP_OPT ("-q",  "quad access (64 bit)")
 BAREBOX_CMD_HELP_OPT ("-d FILE",  "write file (default /dev/mem)")
+BAREBOX_CMD_HELP_OPT ("-x",       "swap bytes")
 BAREBOX_CMD_HELP_END
 
 BAREBOX_CMD_START(mw)
 	.cmd		= do_mem_mw,
 	BAREBOX_CMD_DESC("memory write")
-	BAREBOX_CMD_OPTS("[-bwld] REGION DATA...")
+	BAREBOX_CMD_OPTS("[-bwldx] REGION DATA...")
 	BAREBOX_CMD_GROUP(CMD_GRP_MEM)
 	BAREBOX_CMD_HELP(cmd_mw_help)
 BAREBOX_CMD_END
-- 
2.17.0


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] mw command: add `-x` option description
  2018-05-23 11:45 [PATCH] mw command: add `-x` option description Peter Mamonov
@ 2018-05-24  5:41 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2018-05-24  5:41 UTC (permalink / raw)
  To: Peter Mamonov; +Cc: barebox

On Wed, May 23, 2018 at 02:45:55PM +0300, Peter Mamonov wrote:
> Signed-off-by: Peter Mamonov <pmamonov@gmail.com>
> ---
>  commands/mw.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

Applied, thanks

Sascha

> 
> diff --git a/commands/mw.c b/commands/mw.c
> index bb6a16ef3..7ff589abb 100644
> --- a/commands/mw.c
> +++ b/commands/mw.c
> @@ -107,12 +107,13 @@ BAREBOX_CMD_HELP_OPT ("-w",  "word access (16 bit)")
>  BAREBOX_CMD_HELP_OPT ("-l",  "long access (32 bit)")
>  BAREBOX_CMD_HELP_OPT ("-q",  "quad access (64 bit)")
>  BAREBOX_CMD_HELP_OPT ("-d FILE",  "write file (default /dev/mem)")
> +BAREBOX_CMD_HELP_OPT ("-x",       "swap bytes")
>  BAREBOX_CMD_HELP_END
>  
>  BAREBOX_CMD_START(mw)
>  	.cmd		= do_mem_mw,
>  	BAREBOX_CMD_DESC("memory write")
> -	BAREBOX_CMD_OPTS("[-bwld] REGION DATA...")
> +	BAREBOX_CMD_OPTS("[-bwldx] REGION DATA...")
>  	BAREBOX_CMD_GROUP(CMD_GRP_MEM)
>  	BAREBOX_CMD_HELP(cmd_mw_help)
>  BAREBOX_CMD_END
> -- 
> 2.17.0
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-05-24  5:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-23 11:45 [PATCH] mw command: add `-x` option description Peter Mamonov
2018-05-24  5:41 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox