armv7m: use ARM_MODE_THREAD core mode for algoorithm's08/1108/4
authorSpencer Oliver <spen@spen-soft.co.uk>
Fri, 1 Feb 2013 15:50:20 +0000 (15:50 +0000)
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>
Sat, 2 Feb 2013 16:22:25 +0000 (16:22 +0000)
commitfeddedb6db72b81714780fae5d0b3a51dc1ddedc
tree0f4dd6eca546deef53b4036b8533642b2ace74b4
parentf4f87cb4726fbba4a03e2eda1759faf1c47ab4ba
armv7m: use ARM_MODE_THREAD core mode for algoorithm's

This makes sure we are using privileged mode when executing any loaders.

Change-Id: I18bf32ec92e1c76a66ab25e3712652bc3650b332
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/1108
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
src/flash/nor/cfi.c
src/flash/nor/efm32.c
src/flash/nor/em357.c
src/flash/nor/fm3.c
src/flash/nor/lpc2000.c
src/flash/nor/lpcspifi.c
src/flash/nor/stellaris.c
src/flash/nor/stm32f1x.c
src/flash/nor/stm32f2x.c
src/flash/nor/stm32lx.c
src/target/armv7m.c