|
From: openocd-gerrit <ope...@us...> - 2025-07-02 12:20:47
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Main OpenOCD repository".
The branch, master has been updated
via f71b0bbd7b31627dfdfb87741cf207d83335357c (commit)
from 537d907555ddd5137a6fecfc6d0d74b404b3445a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit f71b0bbd7b31627dfdfb87741cf207d83335357c
Author: Tomas Vanek <va...@fb...>
Date: Fri Jan 3 15:04:43 2025 +0100
jtag/swd: extend ap_delay_hint parameter comments
Assure that zero is passed in ap_delay_hint in case of DP r/w.
Change-Id: I5cd53b99950a7f1398b88f7394b3e66530803479
Signed-off-by: Tomas Vanek <va...@fb...>
Reviewed-on: https://review.openocd.org/c/openocd/+/8689
Tested-by: jenkins
diff --git a/src/jtag/swd.h b/src/jtag/swd.h
index 3fe1365b5..c4b6215ab 100644
--- a/src/jtag/swd.h
+++ b/src/jtag/swd.h
@@ -270,6 +270,7 @@ struct swd_driver {
* @param Where to store value to read from register
* @param ap_delay_hint Number of idle cycles that may be
* needed after an AP access to avoid WAITs
+ * or zero in case of DP read.
*/
void (*read_reg)(uint8_t cmd, uint32_t *value, uint32_t ap_delay_hint);
@@ -280,6 +281,7 @@ struct swd_driver {
* @param Value to be written to the register
* @param ap_delay_hint Number of idle cycles that may be
* needed after an AP access to avoid WAITs
+ * or zero in case of DP write.
*/
void (*write_reg)(uint8_t cmd, uint32_t value, uint32_t ap_delay_hint);
-----------------------------------------------------------------------
Summary of changes:
src/jtag/swd.h | 2 ++
1 file changed, 2 insertions(+)
hooks/post-receive
--
Main OpenOCD repository
|