diff options
Diffstat (limited to 'src/flash/nor/str7x.c')
-rw-r--r-- | src/flash/nor/str7x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/nor/str7x.c b/src/flash/nor/str7x.c index ea584a50..5767b930 100644 --- a/src/flash/nor/str7x.c +++ b/src/flash/nor/str7x.c @@ -372,7 +372,7 @@ static int str7x_write_block(struct flash_bank *bank, uint8_t *buffer, uint32_t } armv4_5_info.common_magic = ARMV4_5_COMMON_MAGIC; - armv4_5_info.core_mode = ARMV4_5_MODE_SVC; + armv4_5_info.core_mode = ARM_MODE_SVC; armv4_5_info.core_state = ARM_STATE_ARM; init_reg_param(®_params[0], "r0", 32, PARAM_OUT); |