hla: add a way to pass arbitrary commands from user to layout and use for ICDI
commit1f6a66ab7fca983a3cffd4070c42ae965d0fc6cb
authorPaul Fertser <fercerpav@gmail.com>
Tue, 19 Aug 2014 17:16:20 +0000 (19 21:16 +0400)
committerSpencer Oliver <spen@spen-soft.co.uk>
Mon, 6 Oct 2014 12:03:30 +0000 (6 12:03 +0000)
treeca0a13925736a97bca9fa17c2514e70a743ce4b7
parent44394c2a77f68785e2ec87e2245d0f1624086682
hla: add a way to pass arbitrary commands from user to layout and use for ICDI

TI's ICDI adapter supports some additional commands which a user might
want to run for debugging or other purposes, the most useful of them
being "debug unlock" that fully mass-erases the device and unprotects
the flash.

Change-Id: I26990e736094367f92106fa891e9bb8fb0382efb
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/2263
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
doc/openocd.texi
src/jtag/drivers/ti_icdi_usb.c
src/jtag/hla/hla_interface.c
src/jtag/hla/hla_layout.h