aboutsummaryrefslogtreecommitdiff
path: root/src/flash/cfi.c
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 08:39:42 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:09 -0800
commitb1de5eb9a074b362e953e857c42cac9a9b18b2a3 (patch)
tree96d3ffb07523e97824d4b5605999ed43f87f1cc5 /src/flash/cfi.c
parent6c965a3da9cd6f5b2cf1b177d38723356c83d923 (diff)
downloadriscv-openocd-b1de5eb9a074b362e953e857c42cac9a9b18b2a3.zip
riscv-openocd-b1de5eb9a074b362e953e857c42cac9a9b18b2a3.tar.gz
riscv-openocd-b1de5eb9a074b362e953e857c42cac9a9b18b2a3.tar.bz2
reg_param_t -> struct reg_param
Remove misleading typedef and redundant suffix from struct reg_param.
Diffstat (limited to 'src/flash/cfi.c')
-rw-r--r--src/flash/cfi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/flash/cfi.c b/src/flash/cfi.c
index 3fa4917..fd9c2a7 100644
--- a/src/flash/cfi.c
+++ b/src/flash/cfi.c
@@ -1020,7 +1020,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;
- reg_param_t reg_params[7];
+ struct reg_param reg_params[7];
armv4_5_algorithm_t armv4_5_info;
working_area_t *source;
uint32_t buffer_size = 32768;
@@ -1265,7 +1265,7 @@ static int cfi_spansion_write_block(struct flash_bank_s *bank, uint8_t *buffer,
struct cfi_flash_bank *cfi_info = bank->driver_priv;
struct cfi_spansion_pri_ext *pri_ext = cfi_info->pri_ext;
target_t *target = bank->target;
- reg_param_t reg_params[10];
+ struct reg_param reg_params[10];
armv4_5_algorithm_t armv4_5_info;
working_area_t *source;
uint32_t buffer_size = 32768;