newdap: Ignore -irlen/-irmask/etc newdap params on SWD or CMSIS-DAP
commitf701c0cbeb346df4cda378d3b4d5136aabba3b37
authorAngus Gratton <gus@projectgus.com>
Wed, 23 Jul 2014 22:14:04 +0000 (24 08:14 +1000)
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>
Mon, 11 Aug 2014 20:49:05 +0000 (11 20:49 +0000)
treeb8578e2e1c9288a5a3d3613e77cbbcf55641b901
parente1bc7f454568dc2cd1d89cfbe327c219ddc67dfc
newdap: Ignore -irlen/-irmask/etc newdap params on SWD or CMSIS-DAP

Previously the -irlen parameter was required even though it is not
a part of the SWD or CMSIS-DAP transports.

This may eventually need to be changed for CMSIS-DAP once that
supports JTAG as well.

Change-Id: Ia02b67840c19c7cf1c7a75063648c0174176a311
Signed-off-by: Angus Gratton <gus@projectgus.com>
Reviewed-on: http://openocd.zylin.com/2226
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
src/jtag/tcl.c