openocd/src
Andreas Fritiofson b8c44b3fd7 [RFC] mips: Enable bulk write optimization for all writes
mips_m4k_bulk_write_memory was only called from target_write_buffer as an
optimization when the word count was large enough.

Remove mips_m4k_bulk_write_memory from the target type, causing the default
implementation to call the regular mips_m4k_write_memory instead.

Perform the dispatch to bulk write in mips_m4k_write_memory, enabling the
optimization for target_write_memory() writes with size 4, in addition to
target_write_buffer() writes.

It also enables making the choice of bulk write vs regular write
specifically for the architecture and not relying on the generic target
code to make a sensible decision.

Change-Id: I295f21a67ceaa195802403f2518ea2e0a025c1c7
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-on: http://openocd.zylin.com/1215
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Tested-by: jenkins
2013-06-12 20:11:36 +00:00
..
flash cfg: add stm32 flash driver alias 2013-06-12 14:44:14 +00:00
helper libusb1_common, ftdi: clarify libusb_open error message 2013-06-12 14:40:16 +00:00
jtag configure: remove --enable-libusb0 option, rework libusb selection 2013-06-12 14:40:29 +00:00
pld update files to correct FSF address 2013-06-05 19:52:42 +00:00
rtos update files to correct FSF address 2013-06-05 19:52:42 +00:00
server update files to correct FSF address 2013-06-05 19:52:42 +00:00
svf update files to correct FSF address 2013-06-05 19:52:42 +00:00
target [RFC] mips: Enable bulk write optimization for all writes 2013-06-12 20:11:36 +00:00
transport update files to correct FSF address 2013-06-05 19:52:42 +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 drivers/jtag: rewrite usb_blaster driver 2013-06-04 20:00:42 +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