]> git.gag.com Git - fw/openocd/commit
bitbang: remove superfluous switch between jtag and swd
authorAntonio Borneo <borneo.antonio@gmail.com>
Wed, 1 Apr 2020 07:39:40 +0000 (09:39 +0200)
committerAntonio Borneo <borneo.antonio@gmail.com>
Mon, 13 Jul 2020 22:52:44 +0000 (23:52 +0100)
commit49232a80d2cb1a2e188a037cad94fd760ae64808
tree55248f71d75e793fe1b99b69654ee9f44312b988
parent1f5962203a06803b8ccf4c374b81e45918291f4f
bitbang: remove superfluous switch between jtag and swd

The SWD framework already takes care of switching between JTAG and
SWD by calling driver's switch_seq() in swd_connect() and in
swd_quit(); there is no need for the driver to force the switch
again.

Remove the extra switch between jtag and swd.

Change-Id: I84de4bffb593374b96fce31951c6cc83f92d2578
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/5554
Tested-by: jenkins
src/jtag/drivers/bcm2835gpio.c
src/jtag/drivers/bitbang.c
src/jtag/drivers/bitbang.h
src/jtag/drivers/imx_gpio.c
src/jtag/drivers/sysfsgpio.c