]> git.sur5r.net Git - openocd/commit
zy1000: flush jtag buffer before changing speed
authorØyvind Harboe <oyvind.harboe@zylin.com>
Mon, 18 Jan 2010 20:54:58 +0000 (21:54 +0100)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Tue, 19 Jan 2010 09:58:48 +0000 (10:58 +0100)
commit924bf27596f31ab8e79fbb4de702be4a9fa12874
tree5e1fe55fa5449fad44b9b0138230bb87a1f73cf3
parentc795b0d8f143a52e0b7196c6e353b381ac04f8ae
zy1000: flush jtag buffer before changing speed

It is conceivable that there could be commands in the
queue when a speed change request comes in. Flush the
hw queue before changing speed. Not observed, found by
inspection.

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
src/jtag/zy1000/zy1000.c