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
parent
334552bc83
commit
322d2fa12c
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue