aboutsummaryrefslogtreecommitdiff
path: root/src/helper
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2024-05-04 20:09:51 +0200
committerAntonio Borneo <borneo.antonio@gmail.com>2024-05-11 11:54:40 +0000
commitcaabdd4a6627a86be43cd91e09f127173eb9e692 (patch)
tree187b42c9bb47a971c3943c431f194565e0f26f7c /src/helper
parentdbef02789fb1f30ae77020754b1468549fd16510 (diff)
downloadriscv-openocd-caabdd4a6627a86be43cd91e09f127173eb9e692.zip
riscv-openocd-caabdd4a6627a86be43cd91e09f127173eb9e692.tar.gz
riscv-openocd-caabdd4a6627a86be43cd91e09f127173eb9e692.tar.bz2
cortex_a: drop the command 'cache auto'
The command 'cache auto' was introduced with commit cd440bd32a12 ("add armv7a_cache handlers") in 2015 to allow disabling the cache handling done automatically by OpenOCD. This was probably a way to test the cache handling when there were still the two independent accesses for APB-AP CPU debug and for AHB-AP memory bus. The handling of cache for cortex_a is robust and there is no more reason to disable it. The command 'cache auto' is not used in any upstream script. On target aarch64 this command has never been introduced as the cache is always handled automatically by OpenOCD. Drop the command 'cache auto' and add it in the deprecated list. Drop the flag 'auto_cache_enabled' by considering it as true. Rename the function 'armv7a_cache_auto_flush_all_data()' as 'armv7a_cache_flush_all_data()' and, while there, fix the error propagation in SMP case. Change-Id: I0399f1081b08c4929e0795b76f4a686630f41d56 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/8230 Tested-by: jenkins Reviewed-by: Oleksij Rempel <linux@rempel-privat.de>
Diffstat (limited to 'src/helper')
0 files changed, 0 insertions, 0 deletions