summaryrefslogtreecommitdiff
path: root/src/flash
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 09:43:03 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:13 -0800
commitaf949b2531d2a8863d077025db40cbb170d13a63 (patch)
treec8d57d3b5f220c6fbb6a9d6a1cb206cd2cfd85a9 /src/flash
parentd0c19e0a9d51211953a363026c662d290542fe85 (diff)
downloadopenocd+libswd-af949b2531d2a8863d077025db40cbb170d13a63.tar.gz
openocd+libswd-af949b2531d2a8863d077025db40cbb170d13a63.tar.bz2
openocd+libswd-af949b2531d2a8863d077025db40cbb170d13a63.tar.xz
openocd+libswd-af949b2531d2a8863d077025db40cbb170d13a63.zip
armv4_5_common_t -> struct arm
Remove misleading typedef and just use struct arm.
Diffstat (limited to 'src/flash')
-rw-r--r--src/flash/arm_nandio.c2
-rw-r--r--src/flash/ocl.c2
-rw-r--r--src/flash/str9xpec.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/flash/arm_nandio.c b/src/flash/arm_nandio.c
index 63dcaebb..4f04831f 100644
--- a/src/flash/arm_nandio.c
+++ b/src/flash/arm_nandio.c
@@ -43,7 +43,7 @@ int arm_nandwrite(struct arm_nand_data *nand, uint8_t *data, int size)
{
target_t *target = nand->target;
struct armv4_5_algorithm algo;
- armv4_5_common_t *armv4_5 = target->arch_info;
+ struct arm *armv4_5 = target->arch_info;
struct reg_param reg_params[3];
uint32_t target_buf;
uint32_t exit = 0;
diff --git a/src/flash/ocl.c b/src/flash/ocl.c
index 14b3e7c2..0a2496da 100644
--- a/src/flash/ocl.c
+++ b/src/flash/ocl.c
@@ -47,7 +47,7 @@ static int ocl_protect_check(struct flash_bank_s *bank)
FLASH_BANK_COMMAND_HANDLER(ocl_flash_bank_command)
{
int retval;
- armv4_5_common_t *armv4_5;
+ struct arm *armv4_5;
struct arm7_9_common *arm7_9;
struct ocl_priv *ocl;
diff --git a/src/flash/str9xpec.c b/src/flash/str9xpec.c
index c553cdce..ec5d0316 100644
--- a/src/flash/str9xpec.c
+++ b/src/flash/str9xpec.c
@@ -238,7 +238,7 @@ static int str9xpec_build_block_list(struct flash_bank_s *bank)
FLASH_BANK_COMMAND_HANDLER(str9xpec_flash_bank_command)
{
struct str9xpec_flash_controller *str9xpec_info;
- armv4_5_common_t *armv4_5 = NULL;
+ struct arm *armv4_5 = NULL;
struct arm7_9_common *arm7_9 = NULL;
struct arm_jtag *jtag_info = NULL;