summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2010-01-08 23:18:46 -0800
committerDavid Brownell <dbrownell@users.sourceforge.net>2010-01-08 23:18:46 -0800
commit2a76c1bcf94f8ed00c9e744a5405d0ac07cdc85a (patch)
tree865faa2cbc65a6fffa97668d8d214ae3b02d5901 /doc
parentae710059291ba9830a9b20d899bdef6a5122dd73 (diff)
downloadopenocd+libswd-2a76c1bcf94f8ed00c9e744a5405d0ac07cdc85a.tar.gz
openocd+libswd-2a76c1bcf94f8ed00c9e744a5405d0ac07cdc85a.tar.bz2
openocd+libswd-2a76c1bcf94f8ed00c9e744a5405d0ac07cdc85a.tar.xz
openocd+libswd-2a76c1bcf94f8ed00c9e744a5405d0ac07cdc85a.zip
NAND: help/usage/doc updates
Usage messages should use the same EBNF as the User's Guide; no angle brackets. Be more complete too ... some params were missing. Improve and correct various helptexts. Make user's guide refer to the NAND "driver" name, not the controller name; that's a bit more precise. Don't use "&function"; its name is its address. Line up struct initializers properly. Remove some blank lines. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'doc')
-rw-r--r--doc/openocd.texi6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/openocd.texi b/doc/openocd.texi
index 2e0143ed..3adc33a3 100644
--- a/doc/openocd.texi
+++ b/doc/openocd.texi
@@ -4673,7 +4673,7 @@ NAND chips must be declared in configuration scripts,
plus some additional configuration that's done after
OpenOCD has initialized.
-@deffn {Config Command} {nand device} name controller target [configparams...]
+@deffn {Config Command} {nand device} name driver target [configparams...]
Declares a NAND device, which can be read and written to
after it has been configured through @command{nand probe}.
In OpenOCD, devices are single chips; this is unlike some
@@ -4688,8 +4688,8 @@ configuration files, not interactively.
@itemize @bullet
@item @var{name} ... may be used to reference the NAND bank
-in other commands.
-@item @var{controller} ... identifies the controller driver
+in most other NAND commands. A number is also available.
+@item @var{driver} ... identifies the NAND controller driver
associated with the NAND device being declared.
@xref{NAND Driver List}.
@item @var{target} ... names the target used when issuing