summaryrefslogtreecommitdiff
path: root/src/target/arm_adi_v5.h
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2010-01-29 14:31:19 -0800
committerDavid Brownell <dbrownell@users.sourceforge.net>2010-01-29 14:31:19 -0800
commit3d3128a8f5bb15f1d05ac5eb7ecc5e692ae290ce (patch)
tree663721b79ee3d87a478c49525b484aef3812855c /src/target/arm_adi_v5.h
parent2248c387f2c413c89d0f175b464a6e60ea20e75b (diff)
downloadopenocd+libswd-3d3128a8f5bb15f1d05ac5eb7ecc5e692ae290ce.tar.gz
openocd+libswd-3d3128a8f5bb15f1d05ac5eb7ecc5e692ae290ce.tar.bz2
openocd+libswd-3d3128a8f5bb15f1d05ac5eb7ecc5e692ae290ce.tar.xz
openocd+libswd-3d3128a8f5bb15f1d05ac5eb7ecc5e692ae290ce.zip
ADIv5: cleanup, rename swjdp_transaction_endcheck()
Make messages reference "DAP" if they're actually transport-agnostic, or "JTAG-DP" when they're JTAG-specific. Saying SWJ-DP is often wrong (on most Cortex-A8 chips) and is confusing even if correct (since we don't yet support SWD). Rename a JTAG-specific routine to jtagdp_transaction_endcheck() to highlight that it's JTAG-specific, and that identify DAP clients undesirably depending on JTAG. (They will all need to change for SWD support.) Shrink a few overlong lines of code. Copy a comment from code removed in a previous patch (for the ARMv7-M "dap baseaddr" command). Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/target/arm_adi_v5.h')
-rw-r--r--src/target/arm_adi_v5.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/arm_adi_v5.h b/src/target/arm_adi_v5.h
index 861a13de..a8070273 100644
--- a/src/target/arm_adi_v5.h
+++ b/src/target/arm_adi_v5.h
@@ -170,8 +170,8 @@ int dap_ap_write_reg_u32(struct swjdp_common *swjdp,
int dap_ap_read_reg_u32(struct swjdp_common *swjdp,
uint32_t addr, uint32_t *value);
-/* Queued transactions must be completed with swjdp_transaction_endcheck() */
-int swjdp_transaction_endcheck(struct swjdp_common *swjdp);
+/* Queued JTAG ops must be completed with jtagdp_transaction_endcheck() */
+int jtagdp_transaction_endcheck(struct swjdp_common *swjdp);
/* MEM-AP memory mapped bus single uint32_t register transfers, without endcheck */
int mem_ap_read_u32(struct swjdp_common *swjdp, uint32_t address, uint32_t *value);