diff options
author | Spencer Oliver <spen@spen-soft.co.uk> | 2012-10-24 09:52:00 +0100 |
---|---|---|
committer | Spencer Oliver <spen@spen-soft.co.uk> | 2012-12-23 21:45:42 +0000 |
commit | 6c467da586a42c8b1332670f2d5f27ae360a153f (patch) | |
tree | 1adbe7ae86ad40772afef467ae686e49d7ae527b /src/target/hla_target.c | |
parent | 549d9bc72cbca3ba352e6b4bcd6e31d9fd9a0bc7 (diff) | |
download | riscv-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/hla_target.c')
-rw-r--r-- | src/target/hla_target.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/target/hla_target.c b/src/target/hla_target.c index 1791997..272c25e 100644 --- a/src/target/hla_target.c +++ b/src/target/hla_target.c @@ -771,8 +771,9 @@ static const struct command_registration adapter_command_handlers[] = { COMMAND_REGISTRATION_DONE }; -struct target_type stm32_stlink_target = { - .name = "stm32_stlink", +struct target_type hla_target = { + .name = "hla_target", + .deprecated_name = "stm32_stlink", .init_target = adapter_init_target, .target_create = adapter_target_create, |