diff options
author | Felipe Balbi <balbi@ti.com> | 2015-04-09 13:31:17 -0500 |
---|---|---|
committer | Freddie Chopin <freddie.chopin@gmail.com> | 2015-11-23 15:54:11 +0000 |
commit | 2bb9256c34e75180450053787f98b13b8b07164d (patch) | |
tree | 62ef2f2bdf7596674d95608f0db154c04900412c /tcl/chip/atmel/at91/at91_pmc.cfg | |
parent | a652a4ea209d24d0f0ebcc73e5eaab14169f958d (diff) |
jtag: commands: save a pointer to list tail
By saving a pointer to the tail of the list,
we don't need to traverse the entire command
queue before we're able to append an item to
it.
With this patch, I see a 10% improvement when
using the embedded XDS100v2 on AM437x IDK board
to load a 4MiB binary (linux zImage) to DDR
with load_image.
IOW, we went from ~305kB/sec to ~336kb/sec.
Change-Id: Idb55d49f0d0106043374ab520b2f3b6b32f2c50f
Signed-off-by: Felipe Balbi <balbi@ti.com>
Reviewed-on: http://openocd.zylin.com/2709
Tested-by: jenkins
Reviewed-by: Stian Skjelstad <stian@nixia.no>
Reviewed-by: Daniele Emancipato <daniele12457@hotmail.com>
Reviewed-by: Matthias Welwarsky <matthias@welwarsky.de>
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
Diffstat (limited to 'tcl/chip/atmel/at91/at91_pmc.cfg')
0 files changed, 0 insertions, 0 deletions