projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
arm_adi_v5: prevent possibly endless recursion in dap_dp_init()
[fw/openocd]
/
src
/
target
/
arm_adi_v5.h
diff --git
a/src/target/arm_adi_v5.h
b/src/target/arm_adi_v5.h
index f319a062db6a7779ab96a399199dff78fd18dbcc..8edfaa8163912bc663617e50b49a49a2cddc8aa0 100644
(file)
--- a/
src/target/arm_adi_v5.h
+++ b/
src/target/arm_adi_v5.h
@@
-550,6
+550,7
@@
int mem_ap_write_buf_noincr(struct adiv5_ap *ap,
/* Initialisation of the debug system, power domains and registers */
int dap_dp_init(struct adiv5_dap *dap);
/* Initialisation of the debug system, power domains and registers */
int dap_dp_init(struct adiv5_dap *dap);
+int dap_dp_init_or_reconnect(struct adiv5_dap *dap);
int mem_ap_init(struct adiv5_ap *ap);
/* Invalidate cached DP select and cached TAR and CSW of all APs */
int mem_ap_init(struct adiv5_ap *ap);
/* Invalidate cached DP select and cached TAR and CSW of all APs */