arm926ejs: fix write memory operations with caches enabled
authorPaul Fertser <fercerpav@gmail.com>
Thu, 30 Jan 2014 10:11:13 +0000 (14:11 +0400)
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>
Tue, 11 Feb 2014 13:38:39 +0000 (13:38 +0000)
commit6c74255ee2569bf2748ecbbd252e2a91bbce6644
tree2e827f05ced486877584dbc9d96722a6b4289a78
parent1338cf60b91c582fa4b27d5226ab4374117be415
arm926ejs: fix write memory operations with caches enabled

Perform proper ICache flush operations on memory writes. This should fix
inability to use software breakpoints for debugging with caches
enabled.

This patch is only compile-time tested.

Commit 1137eaedaf6498f3448cdedf6f93076d9b3fd58a fixed the same issue
for arm920t. Among all the arm7_9_common targets only arm926ejs seems
to be broken in the same way.

Change-Id: I575306ac4319a69fc637b42f7c958f4595c5e81f
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/1912
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
src/target/arm926ejs.c