Retire jtag_add_dr_out 01/1801/2
authorAndreas Fritiofson <andreas.fritiofson@gmail.com>
Wed, 6 Nov 2013 23:40:50 +0000 (00:40 +0100)
committerSpencer Oliver <spen@spen-soft.co.uk>
Mon, 20 Jan 2014 13:28:26 +0000 (13:28 +0000)
commit63fa73169bd88258ef82f709e79769eacc50f793
tree5f259281041de2aa5d7097db46a64d4175279a96
parent87e91f4db9bea66a7866261130c6152c0304bc29
Retire jtag_add_dr_out

The out only version of jtag_add_dr_scan smells like a bogus optimization
that complicates the minidriver API for questionable gain.

The function was only used by four old ARM targets. Rewrite the callers
to use the generic function and remove all implementations.

Change-Id: I13b643687ee8ed6bc9b6336e7096c34f40ea96af
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-on: http://openocd.zylin.com/1801
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
12 files changed:
src/jtag/drivers/driver.c
src/jtag/drivers/minidriver_imp.h
src/jtag/jtag.h
src/jtag/minidriver.h
src/jtag/minidriver/minidriver_imp.h
src/jtag/minidummy/jtag_minidriver.h
src/jtag/zy1000/jtag_minidriver.h
src/jtag/zy1000/zy1000.c
src/target/arm7tdmi.c
src/target/arm_jtag.c
src/target/embeddedice.h
src/target/xscale.c