From 6ec1026bbb83f626484e4fd4b61aa1f7d864dbc7 Mon Sep 17 00:00:00 2001
From: David Brownell <dbrownell@users.sourceforge.net>
Date: Mon, 19 Oct 2009 14:45:43 -0700
Subject: [PATCH] Doc: jtag_init must validate scan chain too

Same requirement as like init_reset, and for the same reason:
we need to start with a known and working state.
---
 doc/openocd.texi | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/doc/openocd.texi b/doc/openocd.texi
index 6d33d56a9..7ebe45788 100644
--- a/doc/openocd.texi
+++ b/doc/openocd.texi
@@ -1573,6 +1573,11 @@ which uses only a lightweight JTAG reset before examining the
 scan chain.
 If that fails, it tries again, using a harder reset
 from the overridable procedure @command{init_reset}.
+
+Implementations must have verified the JTAG scan chain before
+they return.
+This is done by calling @command{jtag arp_init}
+(or @command{jtag arp_init-reset}).
 @end deffn
 
 @anchor{TCP/IP Ports}
-- 
GitLab