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 2524ae7f..b2169039 100644
--- a/src/flash/nor/ecos.c
+++ b/src/flash/nor/ecos.c
@@ -210,7 +210,7 @@ static int runCode(struct ecosflash_flash_bank *info,
struct reg_param reg_params[3];
struct armv4_5_algorithm armv4_5_info;
- armv4_5_info.common_magic = ARMV4_5_COMMON_MAGIC;
+ armv4_5_info.common_magic = ARM_COMMON_MAGIC;
armv4_5_info.core_mode = ARM_MODE_SVC;
armv4_5_info.core_state = ARM_STATE_ARM;