target/adi_v5_xxx: use ADIV5_DP_SELECT_APBANK
commit5fd4f2954d6673e5b2fd740da681439425794abc
authorTomas Vanek <vanekt@fbl.cz>
Tue, 14 Mar 2023 13:31:30 +0000 (14 14:31 +0100)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 23 Sep 2023 14:37:22 +0000 (23 14:37 +0000)
tree163af846b63c6722984948ca448acc827bf8b400
parentf49bf1adb42e3ae1b63da5d6e615c6f28b49f42a
target/adi_v5_xxx: use ADIV5_DP_SELECT_APBANK

and DP_SELECT_DPBANK.
Use the defined symbols instead of magic numbers.

Change-Id: I19c86b183e57e42b96f76eed180c0492cd67bee1
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-on: https://review.openocd.org/c/openocd/+/7539
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
src/target/adi_v5_jtag.c
src/target/adi_v5_swd.c