target: rename cortex_a8 to cortex_a
[fw/openocd] / src / target / startup.tcl
index 90f947dfd7e344024f8611735364a854fe85d60a..56fcbaa7516083ddbf4313636ccd7e8d911dd982 100644 (file)
@@ -167,3 +167,14 @@ proc init_targets {} {
 # Additionally board config scripts can define a procedure init_board that will be executed after init and init_targets
 proc init_board {} {
 }
+
+# deprecated target name cmds
+proc cortex_m3 args {
+       echo "DEPRECATED! use 'cortex_m' not 'cortex_m3'"
+       eval cortex_m $args
+}
+
+proc cortex_a8 args {
+       echo "DEPRECATED! use 'cortex_a' not 'cortex_a8'"
+       eval cortex_a $args
+}