adi_v5_jtag: fix build break when open DEBUG_WAIT macro 04/4804/2
authorYanLin Zhu <zhuyanlin@pinecone.net>
Fri, 14 Dec 2018 05:17:15 +0000 (13:17 +0800)
committerMatthias Welwarsky <matthias@welwarsky.de>
Mon, 17 Dec 2018 10:02:15 +0000 (10:02 +0000)
commit322d2fa12c9b5520e06c1d581ce8b4e3c75750ca
tree04586f0980fd9b048b17284d9df8fc89563b4c20
parent334552bc831baf4a88f8b42c93e87ed052c923d2
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 150b7d26f213398d717bf46744811b48834a3744.

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>
src/target/adi_v5_jtag.c