summaryrefslogtreecommitdiff
path: root/src/flash
diff options
context:
space:
mode:
Diffstat (limited to 'src/flash')
-rw-r--r--src/flash/lpc2000.c2
-rw-r--r--src/flash/pic32mx.c2
-rw-r--r--src/flash/stellaris.c2
-rw-r--r--src/flash/stm32x.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/flash/lpc2000.c b/src/flash/lpc2000.c
index a2c09d20..31e81b3b 100644
--- a/src/flash/lpc2000.c
+++ b/src/flash/lpc2000.c
@@ -242,7 +242,7 @@ static int lpc2000_iap_call(flash_bank_t *bank, int code, uint32_t param_table[5
struct mem_param mem_params[2];
struct reg_param reg_params[5];
struct armv4_5_algorithm armv4_5_info; /* for LPC2000 */
- armv7m_algorithm_t armv7m_info; /* for LPC1700 */
+ struct armv7m_algorithm armv7m_info; /* for LPC1700 */
uint32_t status_code;
uint32_t iap_entry_point = 0; /* to make compiler happier */
diff --git a/src/flash/pic32mx.c b/src/flash/pic32mx.c
index 32481273..01252bbf 100644
--- a/src/flash/pic32mx.c
+++ b/src/flash/pic32mx.c
@@ -307,7 +307,7 @@ static int pic32mx_write_block(struct flash_bank_s *bank, uint8_t *buffer, uint3
int retval = ERROR_OK;
#if 0
struct pic32mx_flash_bank *pic32mx_info = bank->driver_priv;
- armv7m_algorithm_t armv7m_info;
+ struct armv7m_algorithm armv7m_info;
uint8_t pic32mx_flash_write_code[] = {
/* write: */
diff --git a/src/flash/stellaris.c b/src/flash/stellaris.c
index bc5d10a8..cdeccbe1 100644
--- a/src/flash/stellaris.c
+++ b/src/flash/stellaris.c
@@ -836,7 +836,7 @@ static int stellaris_write_block(struct flash_bank_s *bank, uint8_t *buffer, uin
working_area_t *write_algorithm;
uint32_t address = bank->base + offset;
struct reg_param reg_params[3];
- armv7m_algorithm_t armv7m_info;
+ struct armv7m_algorithm armv7m_info;
int retval = ERROR_OK;
LOG_DEBUG("(bank=%p buffer=%p offset=%08" PRIx32 " wcount=%08" PRIx32 "",
diff --git a/src/flash/stm32x.c b/src/flash/stm32x.c
index e69fb564..a63ff60b 100644
--- a/src/flash/stm32x.c
+++ b/src/flash/stm32x.c
@@ -438,7 +438,7 @@ static int stm32x_write_block(struct flash_bank_s *bank, uint8_t *buffer, uint32
working_area_t *source;
uint32_t address = bank->base + offset;
struct reg_param reg_params[4];
- armv7m_algorithm_t armv7m_info;
+ struct armv7m_algorithm armv7m_info;
int retval = ERROR_OK;
uint8_t stm32x_flash_write_code[] = {