aboutsummaryrefslogtreecommitdiff
path: root/src/target/target.c
diff options
context:
space:
mode:
authorSpencer Oliver <spen@spen-soft.co.uk>2012-10-24 09:52:00 +0100
committerSpencer Oliver <spen@spen-soft.co.uk>2012-12-23 21:45:42 +0000
commit6c467da586a42c8b1332670f2d5f27ae360a153f (patch)
tree1adbe7ae86ad40772afef467ae686e49d7ae527b /src/target/target.c
parent549d9bc72cbca3ba352e6b4bcd6e31d9fd9a0bc7 (diff)
downloadriscv-openocd-6c467da586a42c8b1332670f2d5f27ae360a153f.zip
riscv-openocd-6c467da586a42c8b1332670f2d5f27ae360a153f.tar.gz
riscv-openocd-6c467da586a42c8b1332670f2d5f27ae360a153f.tar.bz2
stlink: rename stlink cmd names
As part of the switch to using the hla for the stlink interface we rename the cmds to a more generic name. Update scripts to match new names. Also add handlers for deprecated names. Change-Id: I6f00743da746e3aa13ce06acfdc93c8049545e07 Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on: http://openocd.zylin.com/921 Tested-by: jenkins
Diffstat (limited to 'src/target/target.c')
-rw-r--r--src/target/target.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/target.c b/src/target/target.c
index 026880c..41fab1e 100644
--- a/src/target/target.c
+++ b/src/target/target.c
@@ -87,7 +87,7 @@ extern struct target_type dsp563xx_target;
extern struct target_type dsp5680xx_target;
extern struct target_type testee_target;
extern struct target_type avr32_ap7k_target;
-extern struct target_type stm32_stlink_target;
+extern struct target_type hla_target;
static struct target_type *target_types[] = {
&arm7tdmi_target,
@@ -110,7 +110,7 @@ static struct target_type *target_types[] = {
&dsp5680xx_target,
&testee_target,
&avr32_ap7k_target,
- &stm32_stlink_target,
+ &hla_target,
NULL,
};