aboutsummaryrefslogtreecommitdiff
path: root/src/flash/nor/stellaris.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/flash/nor/stellaris.c')
-rw-r--r--src/flash/nor/stellaris.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/nor/stellaris.c b/src/flash/nor/stellaris.c
index 83ca5853..cd0311a4 100644
--- a/src/flash/nor/stellaris.c
+++ b/src/flash/nor/stellaris.c
@@ -1045,7 +1045,7 @@ static int stellaris_write_block(struct flash_bank *bank,
(uint8_t *) stellaris_write_code);
armv7m_info.common_magic = ARMV7M_COMMON_MAGIC;
- armv7m_info.core_mode = ARMV7M_MODE_ANY;
+ armv7m_info.core_mode = ARM_MODE_ANY;
init_reg_param(&reg_params[0], "r0", 32, PARAM_OUT);
init_reg_param(&reg_params[1], "r1", 32, PARAM_OUT);