]> git.sur5r.net Git - openocd/commit
arm_adi_v5: reduce some CSW writes
authorTomas Vanek <vanekt@fbl.cz>
Thu, 15 Jun 2017 09:03:32 +0000 (11:03 +0200)
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>
Fri, 5 Jan 2018 10:06:39 +0000 (10:06 +0000)
commit81a33244df232a27a0f42f39aa34141009da3c3d
tree873bb03a6ef6db3fbd6293670794f36fabaff9f2
parent4553abf9064fe3c0e4ea2ed29a1d2217df74ff5f
arm_adi_v5: reduce some CSW writes

MEM-AP access through banked data registers MEM_AP_REG_BD0..3
does not increment TAR regardless of the current autoincrement mode.
mem_ap_read_u32() and mem_ap_write_u32() can keep the current
autoincrement mode instead of switching autoincrement off.

Change-Id: Ib7ec688d3e04f1da678363cd2819ce90e8910e58
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-on: http://openocd.zylin.com/4163
Tested-by: jenkins
Reviewed-by: Andreas Bolsch <hyphen0break@gmail.com>
Reviewed-by: Christopher Head <chead@zaber.com>
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
src/target/arm_adi_v5.c