openocd/src
Aurelien Jacobs 970a12aef4 lpcspifi: setup a valid stack pointer before calling ROM code using stack
The spifi_init_code blob is calling the spifi_init() function from the ROM.
This ROM function is making use of the stack. So if the stack pointer is
invalid, trying to execute this code leads to a double fault and the
target_run_algorithm() call return with an error.
This patch simply ensure that the stack pointer is properly setup before
calling the spifi_init() ROM function.

Change-Id: I42a2163cfc2c6dfe5ada97ae8eb2bb6d2e283ff7
Signed-off-by: Aurelien Jacobs <aurel@gnuage.org>
Reviewed-on: http://openocd.zylin.com/1836
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
2014-05-16 07:15:31 +00:00
..
flash lpcspifi: setup a valid stack pointer before calling ROM code using stack 2014-05-16 07:15:31 +00:00
helper Update to the current Jim Tcl 2014-05-09 20:12:17 +00:00
jtag ftdi: Optimize GPIO toggling 2014-05-09 19:27:50 +00:00
pld update files to correct FSF address 2013-06-05 19:52:42 +00:00
rtos Don't cast return value of [cm]alloc 2014-03-30 03:53:45 +00:00
server gdb_server: do not copy feature names for tdesc generation 2014-03-17 12:42:26 +00:00
svf svf: Fix debug and error messages that print hex buffer 2014-05-05 20:25:10 +00:00
target kinetis: Revise CPU un-securing code 2014-05-10 09:15:35 +00:00
transport Don't cast return value of [cm]alloc 2014-03-30 03:53:45 +00:00
xsvf update files to correct FSF address 2013-06-05 19:52:42 +00:00
hello.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
hello.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
main.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
Makefile.am Makefile.am: fix build for libftdi1, pass CFLAGS where appropriate 2014-04-14 18:09:40 +00:00
openocd.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
openocd.h update files to correct FSF address 2013-06-05 19:52:42 +00:00