openocd/src/flash
Andreas Fritiofson 557aa6dc5c arm_adi_v5: Convert the AP references from numbers to pointers
Change the debug_ap and memory_ap fields of the cortex_a target and
the debug_ap field of the cortex_m target to be pointers to the
struct adiv5_ap instead of AP numbers in some known DAP.

This reduces the dependency on the DAP struct in the targets and
enables MEM-AP accesses to take the relevant AP as parameter.

Change-Id: I39d7b134d78000564b7eec5bff464adf0ef89147
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-on: http://openocd.zylin.com/3147
Tested-by: jenkins
Reviewed-by: Matthias Welwarsky <matthias@welwarsky.de>
2015-12-29 20:28:33 +00:00
..
nand helper/fileio: Use size_t for file size. 2015-11-03 22:14:07 +00:00
nor arm_adi_v5: Convert the AP references from numbers to pointers 2015-12-29 20:28:33 +00:00
common.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
common.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
Makefile.am build: add common.mk 2010-11-18 14:05:56 +00:00
mflash.c helper/fileio: Use size_t for file size. 2015-11-03 22:14:07 +00:00
mflash.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
startup.tcl Tcl exception codes cleanup, shutdown command amendments 2015-04-14 12:11:48 +01:00