diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 08:41:00 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 11:58:10 -0800 |
commit | 056fcdb540f0ab9a404f3b5de72fd707eb146603 (patch) | |
tree | 53c7b62a07a3b695be32e98f623ad2a47efa5a6a /src/target/embeddedice.h | |
parent | c25e00b52810822108b54ac40dffadba62ef48d9 (diff) | |
download | riscv-openocd-056fcdb540f0ab9a404f3b5de72fd707eb146603.zip riscv-openocd-056fcdb540f0ab9a404f3b5de72fd707eb146603.tar.gz riscv-openocd-056fcdb540f0ab9a404f3b5de72fd707eb146603.tar.bz2 |
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.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/target/embeddedice.h b/src/target/embeddedice.h index 4e5639c..113a8fe 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 |