summaryrefslogtreecommitdiff
path: root/src/flash/nor/ecos.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/flash/nor/ecos.c')
-rw-r--r--src/flash/nor/ecos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/nor/ecos.c b/src/flash/nor/ecos.c
index b2169039..b51e0a03 100644
--- a/src/flash/nor/ecos.c
+++ b/src/flash/nor/ecos.c
@@ -209,7 +209,7 @@ static int runCode(struct ecosflash_flash_bank *info,
struct target *target = info->target;
struct reg_param reg_params[3];
- struct armv4_5_algorithm armv4_5_info;
+ struct arm_algorithm armv4_5_info;
armv4_5_info.common_magic = ARM_COMMON_MAGIC;
armv4_5_info.core_mode = ARM_MODE_SVC;
armv4_5_info.core_state = ARM_STATE_ARM;