openocd/src
Salvador Arroyo e9497fbf75 mips: load code in buffer mode
Currently the functions mips32_checksum_memory() and mips32_blank_check_memory()
load the code word by word.
The bug in cache code is a good reason for doing so.
If there is no other reason we can load the code as a buffer to save time.
mips_m4k_write_memory() expect a buffer in target endianness, this is done by
target_buffer_set_u32_array().
Cleaned up exit code.
Tested on ar7241 big endian and pic32mx little endian with verify_image.
Flash erase check only tested in pic32mx.

Change-Id: Ib63ed98732b2e23b058e7349a0a57934b7604905
Signed-off-by: Salvador Arroyo <sarroyofdez@yahoo.es>
Reviewed-on: http://openocd.zylin.com/1562
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
2014-05-09 20:37:42 +00:00
..
flash Fix some C99 format specifiers 2014-05-05 20:18:38 +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 mips: load code in buffer mode 2014-05-09 20:37:42 +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