aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSpencer Oliver <spen@spen-soft.co.uk>2013-02-01 15:43:21 +0000
committerFreddie Chopin <freddie.chopin@gmail.com>2013-04-28 08:56:04 +0000
commitd9ba56c295f057e716519a798bf9cdb4898c24f4 (patch)
tree97cf857c0330b370afb0c9a5a681a76e253d80f1 /src
parentb7d2cdc0d4fc319169c60362708a67e2ff626525 (diff)
target: rename cortex_a8 to cortex_a
Rename cortex_a8 target to use a more correct cortex_a name. This also adds a deprecated_name var so that older scripts issue a warning to update the target name. cfg files have also been updated to the new target name. Change-Id: I0eb1429c9281321efeb444b27a662a941a2ab67f Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on: http://openocd.zylin.com/1130 Tested-by: jenkins Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/target/cortex_a.c4
-rw-r--r--src/target/startup.tcl5
2 files changed, 7 insertions, 2 deletions
diff --git a/src/target/cortex_a.c b/src/target/cortex_a.c
index 4d12911f..2b5510f5 100644
--- a/src/target/cortex_a.c
+++ b/src/target/cortex_a.c
@@ -2746,9 +2746,9 @@ static const struct command_registration cortex_a8_command_handlers[] = {
.chain = armv7a_command_handlers,
},
{
- .name = "cortex_a8",
+ .name = "cortex_a",
.mode = COMMAND_ANY,
- .help = "Cortex-A8 command group",
+ .help = "Cortex-A command group",
.usage = "",
.chain = cortex_a8_exec_command_handlers,
},
diff --git a/src/target/startup.tcl b/src/target/startup.tcl
index 0c72cc71..56fcbaa7 100644
--- a/src/target/startup.tcl
+++ b/src/target/startup.tcl
@@ -173,3 +173,8 @@ 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
+}