openocd/src
Antonio Borneo 47d29ebe11 adi_v5: use macro DP_APSEL_MAX to allocate struct adiv5_ap
Commit 11019a824d ("adi_v5: enforce check on AP number value")
introduces the macro DP_APSEL_MAX and use it in place of hardcoded
magic numbers for the upper limit of AP selection value.

Use the macro also while defining the array of struct adiv5_ap in
struct adiv5_dap.

Change-Id: I88f53ceb710f92a48a8026a365709fbf2d9e6912
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/5806
Tested-by: jenkins
2020-09-05 17:11:11 +01:00
..
flash src/flash/nor/virtual: handle null pointers 2020-08-09 15:30:23 +01:00
helper helper: fix minor typos 2020-09-05 17:10:54 +01:00
jtag hla_transport: split command registration per transport 2020-09-05 17:10:38 +01:00
pld helper/command: change prototype of command_print/command_print_sameline 2019-05-14 19:37:11 +01:00
rtos rtos: fix minor typos 2020-07-26 20:13:41 +01:00
server server/gdb_server: fix incorrect condition check 2020-08-16 11:49:20 +01:00
svf svf: fix minor typos 2020-07-26 20:15:20 +01:00
target adi_v5: use macro DP_APSEL_MAX to allocate struct adiv5_ap 2020-09-05 17:11:11 +01:00
transport transport: fix minor typos 2020-07-26 20:14:14 +01:00
xsvf xsvf: fix minor typos 2020-07-26 20:14:22 +01:00
hello.c helper/command: change prototype of command_print/command_print_sameline 2019-05-14 19:37:11 +01:00
hello.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
main.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
Makefile.am Convert to non-recursive make 2016-12-08 16:23:10 +00:00
openocd.c openocd: fix issue in WIN32 with TCP adapters 2020-06-14 14:23:48 +01:00
openocd.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00