Fix glitches in ARM11 command doc:  the commands
are "memwrite ..." not "arm11 memwrite ...".  Both
the texi and the source code (!) got that wrong.
Re-alphabetize.
---
 doc/openocd.texi   |   24 ++++++++++++------------
 src/target/arm11.c |    2 +-
 2 files changed, 13 insertions(+), 13 deletions(-)

        NOTE: making "arm11 memwrite ..." work would
        be cleaner, but more work.  Plus it would change
        current behavior.
Fix glitches in ARM11 command doc:  the commands
are "memwrite ..." not "arm11 memwrite ...".  Both
the texi and the source code (!) got that wrong.
Re-alphabetize.
---
 doc/openocd.texi   |   24 ++++++++++++------------
 src/target/arm11.c |    2 +-
 2 files changed, 13 insertions(+), 13 deletions(-)

--- a/doc/openocd.texi
+++ b/doc/openocd.texi
@@ -4815,18 +4815,6 @@ If the optional parameter is provided, f
 Read coprocessor register
 @end deffn
 
-...@deffn Command {arm11 memwrite burst} [value]
-Displays the value of the memwrite burst-enable flag,
-which is enabled by default.
-If @var{value} is defined, first assigns that.
-...@end deffn
-
-...@deffn Command {arm11 memwrite error_fatal} [value]
-Displays the value of the memwrite error_fatal flag,
-which is enabled by default.
-If @var{value} is defined, first assigns that.
-...@end deffn
-
 @deffn Command {arm11 mrc} p1 p2 p3 p4 p5 value
 Write coprocessor register
 @end deffn
@@ -4845,6 +4833,18 @@ they is disabled by default.
 If @var{value} is defined, first assigns that.
 @end deffn
 
+...@deffn Command {memwrite burst} [value]
+Displays the value of the memwrite burst-enable flag,
+which is enabled by default.
+If @var{value} is defined, first assigns that.
+...@end deffn
+
+...@deffn Command {memwrite error_fatal} [value]
+Displays the value of the memwrite error_fatal flag,
+which is enabled by default.
+If @var{value} is defined, first assigns that.
+...@end deffn
+
 @section ARMv7 Architecture
 @cindex ARMv7
 
--- a/src/target/arm11.c
+++ b/src/target/arm11.c
@@ -1270,7 +1270,7 @@ int arm11_write_memory(struct target_s *
 			LOG_ERROR("Data transfer failed. (%d)", (r0 - address) - size * count);
 
 			if (arm11_config_memwrite_burst)
-				LOG_ERROR("use 'arm11 memwrite burst disable' to disable fast burst mode");
+				LOG_ERROR("use 'memwrite burst disable' to disable fast burst mode");
 
 			if (arm11_config_memwrite_error_fatal)
 				return ERROR_FAIL;
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to