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/arm7_9_common.c | |
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/arm7_9_common.c')
-rw-r--r-- | src/target/arm7_9_common.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/target/arm7_9_common.c b/src/target/arm7_9_common.c index 3894f85..65f2687 100644 --- a/src/target/arm7_9_common.c +++ b/src/target/arm7_9_common.c @@ -703,7 +703,7 @@ int arm7_9_execute_sys_speed(struct target_s *target) { int retval; struct arm7_9_common *arm7_9 = target_to_arm7_9(target); - arm_jtag_t *jtag_info = &arm7_9->jtag_info; + struct arm_jtag *jtag_info = &arm7_9->jtag_info; reg_t *dbg_stat = &arm7_9->eice_cache->reg_list[EICE_DBG_STAT]; /* set RESTART instruction */ @@ -756,7 +756,7 @@ int arm7_9_execute_fast_sys_speed(struct target_s *target) static uint8_t check_value[4], check_mask[4]; struct arm7_9_common *arm7_9 = target_to_arm7_9(target); - arm_jtag_t *jtag_info = &arm7_9->jtag_info; + struct arm_jtag *jtag_info = &arm7_9->jtag_info; reg_t *dbg_stat = &arm7_9->eice_cache->reg_list[EICE_DBG_STAT]; /* set RESTART instruction */ @@ -797,7 +797,7 @@ int arm7_9_execute_fast_sys_speed(struct target_s *target) int arm7_9_target_request_data(target_t *target, uint32_t size, uint8_t *buffer) { struct arm7_9_common *arm7_9 = target_to_arm7_9(target); - arm_jtag_t *jtag_info = &arm7_9->jtag_info; + struct arm_jtag *jtag_info = &arm7_9->jtag_info; uint32_t *data; int retval = ERROR_OK; uint32_t i; @@ -833,7 +833,7 @@ int arm7_9_handle_target_request(void *priv) if (!target_was_examined(target)) return ERROR_OK; struct arm7_9_common *arm7_9 = target_to_arm7_9(target); - arm_jtag_t *jtag_info = &arm7_9->jtag_info; + struct arm_jtag *jtag_info = &arm7_9->jtag_info; reg_t *dcc_control = &arm7_9->eice_cache->reg_list[EICE_COMMS_CTRL]; if (!target->dbg_msg_enabled) @@ -1748,7 +1748,7 @@ int arm7_9_restore_context(target_t *target) int arm7_9_restart_core(struct target_s *target) { struct arm7_9_common *arm7_9 = target_to_arm7_9(target); - arm_jtag_t *jtag_info = &arm7_9->jtag_info; + struct arm_jtag *jtag_info = &arm7_9->jtag_info; /* set RESTART instruction */ jtag_set_end_state(TAP_IDLE); |