diff options
author | Spencer Oliver <spen@spen-soft.co.uk> | 2013-01-10 14:04:36 +0000 |
---|---|---|
committer | Andreas Fritiofson <andreas.fritiofson@gmail.com> | 2013-02-02 16:22:19 +0000 |
commit | f4f87cb4726fbba4a03e2eda1759faf1c47ab4ba (patch) | |
tree | 3966ecb3a37e1aa1093a4fe6a3470af1bb4de37a /src/jtag | |
parent | 98709ab461103de8a6b051b1b890c4c4bdc8f7be (diff) |
armv7m: restore core mode after executing algorithm
Make sure we restore the core mode after executing any algorithm.
We also now check that we actually need to swap the core mode, we may
already be in the correct mode.
Change-Id: Ia48af2c108e0f9868aae241bf25f60323503f092
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/1107
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Diffstat (limited to 'src/jtag')
0 files changed, 0 insertions, 0 deletions