adi_v5_jtag: fix build break when open DEBUG_WAIT macro

DEBUG_WAIT is useful to debug adi_jtag issue,
and the WCR register is replaced by DLCR for DP registers update
in commit 150b7d26f2.

Change-Id: I3faa9ea8a6adacd3d5275e40382801da731db32f
Signed-off-by: YanLin Zhu <zhuyanlin@pinecone.net>
Reviewed-on: http://openocd.zylin.com/4804
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-by: Christopher Head <chead@zaber.com>
log_output
YanLin Zhu 2018-12-14 13:17:15 +08:00 committed by Matthias Welwarsky
parent 334552bc83
commit 322d2fa12c
1 changed files with 2 additions and 2 deletions

View File

@ -72,8 +72,8 @@ static const char *dap_reg_name(int instr, int reg_addr)
case DP_RDBUFF:
reg_name = "RDBUFF";
break;
case DP_WCR:
reg_name = "WCR";
case DP_DLCR:
reg_name = "DLCR";
break;
default:
reg_name = "UNK";