summaryrefslogtreecommitdiff
path: root/src/flash
diff options
context:
space:
mode:
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;