diff options
author | Spencer Oliver <spen@spen-soft.co.uk> | 2012-10-24 15:07:11 +0100 |
---|---|---|
committer | Spencer Oliver <spen@spen-soft.co.uk> | 2012-12-23 21:45:23 +0000 |
commit | 549d9bc72cbca3ba352e6b4bcd6e31d9fd9a0bc7 (patch) | |
tree | 685bbc82a74e73141f805c7819be221bcb36ffd2 /src/target/target_type.h | |
parent | 1bba393e3cf6ae36bf056f99761a0571811dc28a (diff) | |
download | riscv-openocd-549d9bc72cbca3ba352e6b4bcd6e31d9fd9a0bc7.zip riscv-openocd-549d9bc72cbca3ba352e6b4bcd6e31d9fd9a0bc7.tar.gz riscv-openocd-549d9bc72cbca3ba352e6b4bcd6e31d9fd9a0bc7.tar.bz2 |
target: add deprecated target name support
This enables us to change the target name without breaking any
target scripts.
Change-Id: I635f961e573264d3dab2560f3a803ef1986ccfde
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/919
Tested-by: jenkins
Diffstat (limited to 'src/target/target_type.h')
-rw-r--r-- | src/target/target_type.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/target/target_type.h b/src/target/target_type.h index 7eacd7f..277607e 100644 --- a/src/target/target_type.h +++ b/src/target/target_type.h @@ -42,6 +42,7 @@ struct target_type { * field directly, use target_type_name() instead. */ const char *name; + const char *deprecated_name; /* poll current target status */ int (*poll)(struct target *target); |