diff options
Diffstat (limited to 'src/flash')
-rw-r--r-- | src/flash/stellaris.c | 1 | ||||
-rw-r--r-- | src/flash/stm32x.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/src/flash/stellaris.c b/src/flash/stellaris.c index 502659e3..309772e3 100644 --- a/src/flash/stellaris.c +++ b/src/flash/stellaris.c @@ -768,7 +768,6 @@ int stellaris_write_block(struct flash_bank_s *bank, u8 *buffer, u32 offset, u32 armv7m_info.common_magic = ARMV7M_COMMON_MAGIC; armv7m_info.core_mode = ARMV7M_MODE_ANY; - armv7m_info.core_state = ARMV7M_STATE_THUMB; init_reg_param(®_params[0], "r0", 32, PARAM_OUT); init_reg_param(®_params[1], "r1", 32, PARAM_OUT); diff --git a/src/flash/stm32x.c b/src/flash/stm32x.c index e981310a..e85c0e5a 100644 --- a/src/flash/stm32x.c +++ b/src/flash/stm32x.c @@ -459,7 +459,6 @@ int stm32x_write_block(struct flash_bank_s *bank, u8 *buffer, u32 offset, u32 co armv7m_info.common_magic = ARMV7M_COMMON_MAGIC; armv7m_info.core_mode = ARMV7M_MODE_ANY; - armv7m_info.core_state = ARMV7M_STATE_THUMB; init_reg_param(®_params[0], "r0", 32, PARAM_OUT); init_reg_param(®_params[1], "r1", 32, PARAM_OUT); |