]> git.sur5r.net Git - openocd/commit
arm_adi_v5: Add a back-pointer from an AP to its DAP
authorAndreas Fritiofson <andreas.fritiofson@gmail.com>
Fri, 13 Nov 2015 23:51:40 +0000 (00:51 +0100)
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>
Tue, 29 Dec 2015 20:27:26 +0000 (20:27 +0000)
commit5ae2fbda2b8744752f9a8d5dbdb0090df812a894
tree2f12cf31beb74984f41b49070917c9b7116f49c4
parent59003ee2a1681e1fd8af382b09bf4277e073e999
arm_adi_v5: Add a back-pointer from an AP to its DAP

This will make it possible to reference directly the AP used for debug
in the target instance and remove the DAP reference. This will in turn
enable getting rid of the need to select an "active" AP in the DAP (using
dap apsel).

Change-Id: I265846a427c714204f4fd3df3cdb75843686c2d0
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-on: http://openocd.zylin.com/3144
Tested-by: jenkins
Reviewed-by: Matthias Welwarsky <matthias@welwarsky.de>
src/target/arm_adi_v5.c
src/target/arm_adi_v5.h