summaryrefslogtreecommitdiff
path: root/src/target/embeddedice.h
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 08:41:00 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:10 -0800
commit056fcdb540f0ab9a404f3b5de72fd707eb146603 (patch)
tree53c7b62a07a3b695be32e98f623ad2a47efa5a6a /src/target/embeddedice.h
parentc25e00b52810822108b54ac40dffadba62ef48d9 (diff)
downloadopenocd+libswd-056fcdb540f0ab9a404f3b5de72fd707eb146603.tar.gz
openocd+libswd-056fcdb540f0ab9a404f3b5de72fd707eb146603.tar.bz2
openocd+libswd-056fcdb540f0ab9a404f3b5de72fd707eb146603.tar.xz
openocd+libswd-056fcdb540f0ab9a404f3b5de72fd707eb146603.zip
arm_jtag_t -> struct arm_jtag
Remove misleading typedef and redundant suffix from struct arm_jtag.
Diffstat (limited to 'src/target/embeddedice.h')
-rw-r--r--src/target/embeddedice.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/target/embeddedice.h b/src/target/embeddedice.h
index 4e5639cf..113a8fe9 100644
--- a/src/target/embeddedice.h
+++ b/src/target/embeddedice.h
@@ -90,7 +90,7 @@ enum
typedef struct embeddedice_reg_s
{
int addr;
- arm_jtag_t *jtag_info;
+ struct arm_jtag *jtag_info;
} embeddedice_reg_t;
reg_cache_t* embeddedice_build_reg_cache(target_t *target,
@@ -108,10 +108,10 @@ void embeddedice_store_reg(reg_t *reg);
void embeddedice_set_reg(reg_t *reg, uint32_t value);
int embeddedice_set_reg_w_exec(reg_t *reg, uint8_t *buf);
-int embeddedice_receive(arm_jtag_t *jtag_info, uint32_t *data, uint32_t size);
-int embeddedice_send(arm_jtag_t *jtag_info, uint32_t *data, uint32_t size);
+int embeddedice_receive(struct arm_jtag *jtag_info, uint32_t *data, uint32_t size);
+int embeddedice_send(struct arm_jtag *jtag_info, uint32_t *data, uint32_t size);
-int embeddedice_handshake(arm_jtag_t *jtag_info, int hsbit, uint32_t timeout);
+int embeddedice_handshake(struct arm_jtag *jtag_info, int hsbit, uint32_t timeout);
/* If many embeddedice_write_reg() follow eachother, then the >1 invocations can be this faster version of
* embeddedice_write_reg