forked from auracaster/openocd
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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user