summaryrefslogtreecommitdiff
path: root/src/target/arm920t.c
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 08:40:03 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:09 -0800
commit8012b3963fc49c7edf87f31a93bc0039095f5b59 (patch)
treeca01e0fd734ebb5ace62492fd27081390fb50b59 /src/target/arm920t.c
parentbcb18b2044e9a9b812f8e0d390ed903f74524586 (diff)
downloadopenocd+libswd-8012b3963fc49c7edf87f31a93bc0039095f5b59.tar.gz
openocd+libswd-8012b3963fc49c7edf87f31a93bc0039095f5b59.tar.bz2
openocd+libswd-8012b3963fc49c7edf87f31a93bc0039095f5b59.tar.xz
openocd+libswd-8012b3963fc49c7edf87f31a93bc0039095f5b59.zip
arm7_9_common_t -> struct arm7_9_common
Remove misleading typedef and redundant suffix from struct arm7_9_common.
Diffstat (limited to 'src/target/arm920t.c')
-rw-r--r--src/target/arm920t.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/target/arm920t.c b/src/target/arm920t.c
index 4fa4130d..336b01c5 100644
--- a/src/target/arm920t.c
+++ b/src/target/arm920t.c
@@ -553,7 +553,7 @@ int arm920t_soft_reset_halt(struct target_s *target)
{
int retval = ERROR_OK;
struct arm920t_common *arm920t = target_to_arm920(target);
- struct arm7_9_common_s *arm7_9 = target_to_arm7_9(target);
+ struct arm7_9_common *arm7_9 = target_to_arm7_9(target);
struct armv4_5_common_s *armv4_5 = &arm7_9->armv4_5_common;
reg_t *dbg_stat = &arm7_9->eice_cache->reg_list[EICE_DBG_STAT];
@@ -623,7 +623,7 @@ int arm920t_soft_reset_halt(struct target_s *target)
int arm920t_init_arch_info(target_t *target, struct arm920t_common *arm920t, struct jtag_tap *tap)
{
arm9tdmi_common_t *arm9tdmi = &arm920t->arm9tdmi_common;
- arm7_9_common_t *arm7_9 = &arm9tdmi->arm7_9_common;
+ struct arm7_9_common *arm7_9 = &arm9tdmi->arm7_9_common;
/* initialize arm9tdmi specific info (including arm7_9 and armv4_5)
*/
@@ -667,7 +667,7 @@ COMMAND_HANDLER(arm920t_handle_read_cache_command)
int retval = ERROR_OK;
target_t *target = get_current_target(cmd_ctx);
struct arm920t_common *arm920t = target_to_arm920(target);
- struct arm7_9_common_s *arm7_9 = target_to_arm7_9(target);
+ struct arm7_9_common *arm7_9 = target_to_arm7_9(target);
struct armv4_5_common_s *armv4_5 = &arm7_9->armv4_5_common;
uint32_t cp15c15;
uint32_t cp15_ctrl, cp15_ctrl_saved;
@@ -913,7 +913,7 @@ COMMAND_HANDLER(arm920t_handle_read_mmu_command)
int retval = ERROR_OK;
target_t *target = get_current_target(cmd_ctx);
struct arm920t_common *arm920t = target_to_arm920(target);
- struct arm7_9_common_s *arm7_9 = target_to_arm7_9(target);
+ struct arm7_9_common *arm7_9 = target_to_arm7_9(target);
struct armv4_5_common_s *armv4_5 = &arm7_9->armv4_5_common;
uint32_t cp15c15;
uint32_t cp15_ctrl, cp15_ctrl_saved;