summaryrefslogtreecommitdiff
path: root/src/flash
diff options
context:
space:
mode:
Diffstat (limited to 'src/flash')
-rw-r--r--src/flash/aduc702x.c2
-rw-r--r--src/flash/arm_nandio.c2
-rw-r--r--src/flash/cfi.c4
-rw-r--r--src/flash/ecos.c2
-rw-r--r--src/flash/lpc2000.c2
-rw-r--r--src/flash/lpc2900.c2
-rw-r--r--src/flash/stellaris.c2
-rw-r--r--src/flash/stm32x.c2
-rw-r--r--src/flash/str7x.c2
-rw-r--r--src/flash/str9x.c2
10 files changed, 11 insertions, 11 deletions
diff --git a/src/flash/aduc702x.c b/src/flash/aduc702x.c
index ea9e8400..931db5a7 100644
--- a/src/flash/aduc702x.c
+++ b/src/flash/aduc702x.c
@@ -163,7 +163,7 @@ static int aduc702x_write_block(struct flash_bank_s *bank, uint8_t *buffer, uint
uint32_t buffer_size = 7000;
working_area_t *source;
uint32_t address = bank->base + offset;
- reg_param_t reg_params[6];
+ struct reg_param reg_params[6];
armv4_5_algorithm_t armv4_5_info;
int retval = ERROR_OK;
diff --git a/src/flash/arm_nandio.c b/src/flash/arm_nandio.c
index 8087221a..0453656e 100644
--- a/src/flash/arm_nandio.c
+++ b/src/flash/arm_nandio.c
@@ -44,7 +44,7 @@ int arm_nandwrite(struct arm_nand_data *nand, uint8_t *data, int size)
target_t *target = nand->target;
armv4_5_algorithm_t algo;
armv4_5_common_t *armv4_5 = target->arch_info;
- reg_param_t reg_params[3];
+ struct reg_param reg_params[3];
uint32_t target_buf;
uint32_t exit = 0;
int retval;
diff --git a/src/flash/cfi.c b/src/flash/cfi.c
index 3fa49170..fd9c2a74 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;
diff --git a/src/flash/ecos.c b/src/flash/ecos.c
index 5a0d7ec9..97566d4a 100644
--- a/src/flash/ecos.c
+++ b/src/flash/ecos.c
@@ -206,7 +206,7 @@ static int runCode(struct ecosflash_flash_bank *info,
{
target_t *target = info->target;
- reg_param_t reg_params[3];
+ struct reg_param reg_params[3];
armv4_5_algorithm_t armv4_5_info;
armv4_5_info.common_magic = ARMV4_5_COMMON_MAGIC;
armv4_5_info.core_mode = ARMV4_5_MODE_SVC;
diff --git a/src/flash/lpc2000.c b/src/flash/lpc2000.c
index ab2b1c8e..05c08dd6 100644
--- a/src/flash/lpc2000.c
+++ b/src/flash/lpc2000.c
@@ -240,7 +240,7 @@ static int lpc2000_iap_call(flash_bank_t *bank, int code, uint32_t param_table[5
struct lpc2000_flash_bank *lpc2000_info = bank->driver_priv;
target_t *target = bank->target;
struct mem_param mem_params[2];
- reg_param_t reg_params[5];
+ struct reg_param reg_params[5];
armv4_5_algorithm_t armv4_5_info; /* for LPC2000 */
armv7m_algorithm_t armv7m_info; /* for LPC1700 */
uint32_t status_code;
diff --git a/src/flash/lpc2900.c b/src/flash/lpc2900.c
index 5255f56f..8d1eeb8f 100644
--- a/src/flash/lpc2900.c
+++ b/src/flash/lpc2900.c
@@ -1313,7 +1313,7 @@ static int lpc2900_write(struct flash_bank_s *bank, uint8_t *buffer,
if( warea )
{
- reg_param_t reg_params[5];
+ struct reg_param reg_params[5];
armv4_5_algorithm_t armv4_5_info;
/* We can use target mode. Download the algorithm. */
diff --git a/src/flash/stellaris.c b/src/flash/stellaris.c
index 77998006..bc5d10a8 100644
--- a/src/flash/stellaris.c
+++ b/src/flash/stellaris.c
@@ -835,7 +835,7 @@ static int stellaris_write_block(struct flash_bank_s *bank, uint8_t *buffer, uin
working_area_t *source;
working_area_t *write_algorithm;
uint32_t address = bank->base + offset;
- reg_param_t reg_params[3];
+ struct reg_param reg_params[3];
armv7m_algorithm_t armv7m_info;
int retval = ERROR_OK;
diff --git a/src/flash/stm32x.c b/src/flash/stm32x.c
index 1b2486dc..e69fb564 100644
--- a/src/flash/stm32x.c
+++ b/src/flash/stm32x.c
@@ -437,7 +437,7 @@ static int stm32x_write_block(struct flash_bank_s *bank, uint8_t *buffer, uint32
uint32_t buffer_size = 16384;
working_area_t *source;
uint32_t address = bank->base + offset;
- reg_param_t reg_params[4];
+ struct reg_param reg_params[4];
armv7m_algorithm_t armv7m_info;
int retval = ERROR_OK;
diff --git a/src/flash/str7x.c b/src/flash/str7x.c
index 84a246a4..c594c966 100644
--- a/src/flash/str7x.c
+++ b/src/flash/str7x.c
@@ -315,7 +315,7 @@ static int str7x_write_block(struct flash_bank_s *bank, uint8_t *buffer, uint32_
uint32_t buffer_size = 8192;
working_area_t *source;
uint32_t address = bank->base + offset;
- reg_param_t reg_params[6];
+ struct reg_param reg_params[6];
armv4_5_algorithm_t armv4_5_info;
int retval = ERROR_OK;
diff --git a/src/flash/str9x.c b/src/flash/str9x.c
index 77f9ddfd..c3649085 100644
--- a/src/flash/str9x.c
+++ b/src/flash/str9x.c
@@ -353,7 +353,7 @@ static int str9x_write_block(struct flash_bank_s *bank,
uint32_t buffer_size = 8192;
working_area_t *source;
uint32_t address = bank->base + offset;
- reg_param_t reg_params[4];
+ struct reg_param reg_params[4];
armv4_5_algorithm_t armv4_5_info;
int retval = ERROR_OK;