target: armv7a: drop command 'cache_config l2x'

The command was already tagged as deprecated in 2015 with commit
0df5577282 ("armv7a: remove l1 flush all data handler") but has
never been removed.
An equivalent command 'cache l2x conf' was introduced at the same
time in commit cd440bd32a ("add armv7a_cache handlers").

Drop it and deprecate it.
Replace the old command in the Tcl script.

Change-Id: Ie24eccc99a78786903704d10ee1d9f6c924529b5
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/8857
Tested-by: jenkins
This commit is contained in:
Antonio Borneo
2025-04-19 16:28:50 +02:00
parent 3954896d6e
commit d71ed4f3bc
4 changed files with 7 additions and 79 deletions

View File

@@ -133,7 +133,7 @@ proc enable_apetap {} {
set status [$_TARGETNAME_1 curstate]
if {[string equal "unknown" $status]} {
$_TARGETNAME_1 arp_examine
cache_config l2x 0xa0412000 8
cache l2x conf 0xa0412000 8
}
set status [$_TARGETNAME_2 curstate]