summaryrefslogtreecommitdiff
path: root/src/target/arm7_9_common.c
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 08:41:07 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:10 -0800
commit15e8e4530866454c18c5d91ad9e867f339c2e82b (patch)
tree71e6415b9717a3e93d219f06d02f81102e112c2b /src/target/arm7_9_common.c
parent056fcdb540f0ab9a404f3b5de72fd707eb146603 (diff)
downloadopenocd+libswd-15e8e4530866454c18c5d91ad9e867f339c2e82b.tar.gz
openocd+libswd-15e8e4530866454c18c5d91ad9e867f339c2e82b.tar.bz2
openocd+libswd-15e8e4530866454c18c5d91ad9e867f339c2e82b.tar.xz
openocd+libswd-15e8e4530866454c18c5d91ad9e867f339c2e82b.zip
armv4_5_algorithm_t -> struct armv4_5_algorithm
Remove misleading typedef and redundant suffix from struct armv4_5_algorithm.
Diffstat (limited to 'src/target/arm7_9_common.c')
-rw-r--r--src/target/arm7_9_common.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/target/arm7_9_common.c b/src/target/arm7_9_common.c
index 65f26875..75998fe9 100644
--- a/src/target/arm7_9_common.c
+++ b/src/target/arm7_9_common.c
@@ -2690,7 +2690,7 @@ int arm7_9_bulk_write_memory(target_t *target, uint32_t address, uint32_t count,
}
}
- armv4_5_algorithm_t armv4_5_info;
+ struct armv4_5_algorithm armv4_5_info;
struct reg_param reg_params[1];
armv4_5_info.common_magic = ARMV4_5_COMMON_MAGIC;
@@ -2724,7 +2724,7 @@ int arm7_9_bulk_write_memory(target_t *target, uint32_t address, uint32_t count,
int arm7_9_checksum_memory(struct target_s *target, uint32_t address, uint32_t count, uint32_t* checksum)
{
working_area_t *crc_algorithm;
- armv4_5_algorithm_t armv4_5_info;
+ struct armv4_5_algorithm armv4_5_info;
struct reg_param reg_params[2];
int retval;
@@ -2809,7 +2809,7 @@ int arm7_9_blank_check_memory(struct target_s *target, uint32_t address, uint32_
{
working_area_t *erase_check_algorithm;
struct reg_param reg_params[3];
- armv4_5_algorithm_t armv4_5_info;
+ struct armv4_5_algorithm armv4_5_info;
int retval;
uint32_t i;