summaryrefslogtreecommitdiff
path: root/src/flash/stellaris.c
diff options
context:
space:
mode:
authorntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-04-10 11:43:48 +0000
committerntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-04-10 11:43:48 +0000
commit9c3dec377eb6eb822b85fa107ade2a62c9e1cfd1 (patch)
tree528bc639688200b05ae27df46046c3544399d121 /src/flash/stellaris.c
parent1ade331ba925c506ed4254f31dba5e6f9cf782b4 (diff)
downloadopenocd+libswd-9c3dec377eb6eb822b85fa107ade2a62c9e1cfd1.tar.gz
openocd+libswd-9c3dec377eb6eb822b85fa107ade2a62c9e1cfd1.tar.bz2
openocd+libswd-9c3dec377eb6eb822b85fa107ade2a62c9e1cfd1.tar.xz
openocd+libswd-9c3dec377eb6eb822b85fa107ade2a62c9e1cfd1.zip
- single core context used, removed debug context as thought unnecessary.
- DCRDR now used to access special core registers - info is currently omitted from the cortex_m3 TRM ARM have told me this is the preferred access method and the docs will be updated soon. - now checks for User Thread Mode and Thread mode when halted. - removed repeated function declarations from command.c - cortex_m3_prepare_reset_halt removed, updated cortex_m3_assert_reset to suit git-svn-id: svn://svn.berlios.de/openocd/trunk@558 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/flash/stellaris.c')
-rw-r--r--src/flash/stellaris.c1
1 files changed, 0 insertions, 1 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(&reg_params[0], "r0", 32, PARAM_OUT);
init_reg_param(&reg_params[1], "r1", 32, PARAM_OUT);