riscv-openocd/src
Antonio Borneo 9bdd1daec3 riscv: replace macro DIM() with ARRAY_SIZE()
OpenOCD already defines the macro ARRAY_SIZE, while riscv code
uses a local macro DIM.

Prefer using the macro ARRAY_SIZE() instead of DIM().
Not all the riscv code has been upstreamed, yes; this patch only
covers the code already upstreamed.

Change-Id: I89a58a6d91916d85c53ba5e4091b558271f8d618
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2021-05-16 13:57:11 +02:00
..
flash Merge branch 'master' into from_upstream 2021-05-03 11:04:15 -07:00
gnulib RISC-V Freertos support (#582) 2021-03-05 15:52:33 -08:00
helper Fix build. 2021-05-03 11:10:58 -07:00
jtag Merge branch 'master' into from_upstream 2021-05-03 11:04:15 -07:00
m4 RISC-V Freertos support (#582) 2021-03-05 15:52:33 -08:00
pld Cleanup of config/includes. 2021-05-01 14:35:09 +01:00
rtos Merge branch 'master' into from_upstream 2021-05-03 11:04:15 -07:00
rtt From upstream (#580) 2021-02-11 11:27:18 -08:00
server Merge branch 'master' into from_upstream 2021-05-03 11:04:15 -07:00
svf Cleanup of config/includes. 2021-05-01 14:35:09 +01:00
target riscv: replace macro DIM() with ARRAY_SIZE() 2021-05-16 13:57:11 +02:00
transport Cleanup of config/includes. 2021-05-01 14:35:09 +01:00
xsvf Cleanup of config/includes. 2021-05-01 14:35:09 +01:00
Makefile.am Merge branch 'master' into from_upstream 2021-04-13 11:26:25 -07: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 Cleanup of config/includes. 2021-05-01 14:35:09 +01:00
openocd.c help: re-implement 'help' independent from tree of struct command 2021-04-18 15:33:54 +01:00
openocd.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00