forked from auracaster/openocd
target: armv7a: drop command 'cache_config l2x'
The command was already tagged as deprecated in 2015 with commit0df5577282("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 commitcd440bd32a("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:
@@ -316,3 +316,9 @@ proc _post_init_target_cortex_a_cache_auto {} {
|
||||
}
|
||||
}
|
||||
lappend post_init_commands _post_init_target_cortex_a_cache_auto
|
||||
|
||||
lappend _telnet_autocomplete_skip "cache_config l2x"
|
||||
proc "cache_config l2x" {args} {
|
||||
echo "DEPRECATED! use 'cache l2x conf' not 'cache_config l2x'"
|
||||
eval cache_config l2x $args
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user