doc: list internal commands called by init
authorTomas Vanek <vanekt@fbl.cz>
Wed, 1 Dec 2021 09:41:08 +0000 (10:41 +0100)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 11 Dec 2021 17:40:43 +0000 (17:40 +0000)
Change-Id: I5534c94a983906533a1b38c30ec3eb982e62dee7
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-on: https://review.openocd.org/c/openocd/+/6760
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
doc/openocd.texi

index e0234e577858bb4cd14ffa7b59675864c2e85014..40ff65ccb4eef502ea6309e43cf3c58638ad475e 100644 (file)
@@ -2075,11 +2075,22 @@ If this command does not appear in any startup/configuration file
 OpenOCD executes the command for you after processing all
 configuration files and/or command line options.
 
-@b{NOTE:} This command normally occurs at or near the end of your
+@b{NOTE:} This command normally occurs near the end of your
 openocd.cfg file to force OpenOCD to ``initialize'' and make the
 targets ready. For example: If your openocd.cfg file needs to
 read/write memory on your target, @command{init} must occur before
 the memory read/write commands. This includes @command{nand probe}.
+
+@command{init} calls the following internal OpenOCD commands to initialize
+corresponding subsystems:
+@deffn {Config Command} {target init}
+@deffnx {Command} {transport init}
+@deffnx {Command} {dap init}
+@deffnx {Config Command} {flash init}
+@deffnx {Config Command} {nand init}
+@deffnx {Config Command} {pld init}
+@deffnx {Command} {tpiu init}
+@end deffn
 @end deffn
 
 @deffn {Overridable Procedure} {jtag_init}