riscv-openocd/src
Andreas Fritiofson f545044c2a target: Switch to target_read_buffer() in verify_image fallback
The current code checks the count to determine whether to read bytes or
words. However it fails to consider whether the base address is suitably
aligned.

Instead use the target_read_buffer() function which is for exactly this
purpose and generates optimal accesses with natural alignment.

Change-Id: I32ab5417890ee2219902df1529bc220fe353b4c7
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-on: http://openocd.zylin.com/3217
Tested-by: jenkins
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
2019-10-18 09:17:24 +01:00
..
flash src/flash/startup.tcl: Add preverify to program command 2019-10-15 09:00:45 +01:00
helper helper/command: clear errno before calling parser 2019-09-24 05:47:18 +01:00
jtag Add complete JTAG debug logging. 2019-10-15 08:59:00 +01:00
pld helper/command: change prototype of command_print/command_print_sameline 2019-05-14 19:37:11 +01:00
rtos gdb_server, rtos: Fine-grained RTOS register access 2019-08-28 08:07:37 +01:00
server gdb_server, rtos: Fine-grained RTOS register access 2019-08-28 08:07:37 +01:00
svf helper/command: change prototype of command_print/command_print_sameline 2019-05-14 19:37:11 +01:00
target target: Switch to target_read_buffer() in verify_image fallback 2019-10-18 09:17:24 +01:00
transport helper/command: change prototype of command_print/command_print_sameline 2019-05-14 19:37:11 +01:00
xsvf helper/command: change prototype of command_print/command_print_sameline 2019-05-14 19:37:11 +01:00
Makefile.am Convert to non-recursive make 2016-12-08 16:23:10 +00:00
hello.c helper/command: change prototype of command_print/command_print_sameline 2019-05-14 19:37:11 +01:00
hello.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
main.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
openocd.c mflash: Remove this broken flash driver 2019-07-28 21:17:47 +01:00
openocd.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00