From 30a6e683b85291b8248a2f6189aa292fdf43162d Mon Sep 17 00:00:00 2001 From: Zachary T Welch Date: Sun, 6 Dec 2009 21:30:21 -0800 Subject: add 'flash list', rewrite 'flash banks' Rename the existing 'flash banks' implementation as 'flash list', and replace the broken 'flash_banks' TCL wrapper with a new command handler. Adds documentation for the new 'flash list' command in the user guide. --- doc/openocd.texi | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'doc/openocd.texi') diff --git a/doc/openocd.texi b/doc/openocd.texi index b6be87e1..36517791 100644 --- a/doc/openocd.texi +++ b/doc/openocd.texi @@ -3638,12 +3638,18 @@ Use it in board specific configuration files, not interactively. @comment the REAL name for this command is "ocd_flash_banks" @comment less confusing would be: "flash list" (like "nand list") @deffn Command {flash banks} -Prints a one-line summary of each device declared -using @command{flash bank}, numbered from zero. +Prints a one-line summary of each device that was +declared using @command{flash bank}, numbered from zero. Note that this is the @emph{plural} form; the @emph{singular} form is a very different command. @end deffn +@deffn Command {flash list} +Retrieves a list of associative arrays for each device that was +declared using @command{flash bank}, numbered from zero. +This returned list can be manipulated easily from within scripts. +@end deffn + @deffn Command {flash probe} num Identify the flash, or validate the parameters of the configured flash. Operation depends on the flash type. -- cgit v1.2.3