diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 08:41:07 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 11:58:10 -0800 |
commit | 15e8e4530866454c18c5d91ad9e867f339c2e82b (patch) | |
tree | 71e6415b9717a3e93d219f06d02f81102e112c2b /src/flash/cfi.c | |
parent | 056fcdb540f0ab9a404f3b5de72fd707eb146603 (diff) | |
download | riscv-openocd-15e8e4530866454c18c5d91ad9e867f339c2e82b.zip riscv-openocd-15e8e4530866454c18c5d91ad9e867f339c2e82b.tar.gz riscv-openocd-15e8e4530866454c18c5d91ad9e867f339c2e82b.tar.bz2 |
armv4_5_algorithm_t -> struct armv4_5_algorithm
Remove misleading typedef and redundant suffix from struct armv4_5_algorithm.
Diffstat (limited to 'src/flash/cfi.c')
-rw-r--r-- | src/flash/cfi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/flash/cfi.c b/src/flash/cfi.c index fd9c2a7..c0c2cb7 100644 --- a/src/flash/cfi.c +++ b/src/flash/cfi.c @@ -1021,7 +1021,7 @@ static int cfi_intel_write_block(struct flash_bank_s *bank, uint8_t *buffer, uin struct cfi_flash_bank *cfi_info = bank->driver_priv; target_t *target = bank->target; struct reg_param reg_params[7]; - armv4_5_algorithm_t armv4_5_info; + struct armv4_5_algorithm armv4_5_info; working_area_t *source; uint32_t buffer_size = 32768; uint32_t write_command_val, busy_pattern_val, error_pattern_val; @@ -1266,7 +1266,7 @@ static int cfi_spansion_write_block(struct flash_bank_s *bank, uint8_t *buffer, struct cfi_spansion_pri_ext *pri_ext = cfi_info->pri_ext; target_t *target = bank->target; struct reg_param reg_params[10]; - armv4_5_algorithm_t armv4_5_info; + struct armv4_5_algorithm armv4_5_info; working_area_t *source; uint32_t buffer_size = 32768; uint32_t status; |