From: David Brownell Date: Thu, 18 Mar 2010 19:11:58 +0000 (-0700) Subject: Merge branch 'master' of ssh://dbrownell@openocd.git.sourceforge.net/gitroot/openocd... X-Git-Tag: v0.5.0-rc1~821 X-Git-Url: https://review.openocd.org/gitweb?a=commitdiff_plain;h=c09035ea2cb24dee300476a3502919d23d90d1f5;hp=ec108ff59e23ec32abf1223488ad96dd26205a5b;p=openocd.git Merge branch 'master' of ssh://dbrownell@openocd.git.sourceforge.net/gitroot/openocd/openocd --- diff --git a/src/target/arm_adi_v5.c b/src/target/arm_adi_v5.c index 4afd50cb5a..01c274b3bf 100644 --- a/src/target/arm_adi_v5.c +++ b/src/target/arm_adi_v5.c @@ -1572,28 +1572,3 @@ const struct command_registration dap_command_handlers[] = { }; -/* - * This represents the bits which must be sent out on TMS/SWDIO to - * switch a DAP implemented using an SWJ-DP module into SWD mode. - * These bits are stored (and transmitted) LSB-first. - * - * See the DAP-Lite specification, section 2.2.5 for information - * about making the debug link select SWD or JTAG. (Similar info - * is in a few other ARM documents.) - */ -static const uint8_t jtag2swd_bitseq[] = { - /* More than 50 TCK/SWCLK cycles with TMS/SWDIO high, - * putting both JTAG and SWD logic into reset state. - */ - 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, - /* Switching sequence enables SWD and disables JTAG - * NOTE: bits in the DP's IDCODE may expose the need for - * an old/deprecated sequence (0xb6 0xed). - */ - 0x9e, 0xe7, - /* More than 50 TCK/SWCLK cycles with TMS/SWDIO high, - * putting both JTAG and SWD logic into reset state. - */ - 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, -}; -