From 64b486e74f9e492da2922cab127f6dcd454474fb Mon Sep 17 00:00:00 2001 From: Antonio Borneo Date: Sun, 1 Nov 2020 00:10:55 +0100 Subject: [PATCH] target: remove target names already deprecated in v0.8.0 Some target name were marked as deprecated in release v0.7.0 and v0.8.0, almost 7 years ago, and replaced with more 'actual' names. We can reasonably expect that in these 7 years any user of OpenOCD has already migrated to v0.8.0 or to some newer release, thus has already updated any local/personal script to get rid of the deprecated message. Drop the target names already deprecated in v0.8.0. Change-Id: I7c7491496db1b302b4eb1e9fc6090b58d4acf05a Signed-off-by: Antonio Borneo Reviewed-on: http://openocd.zylin.com/6086 Reviewed-by: Tarek BOCHKATI Tested-by: jenkins Reviewed-by: Tomas Vanek --- src/target/cortex_a.c | 1 - src/target/cortex_m.c | 1 - src/target/hla_target.c | 1 - 3 files changed, 3 deletions(-) diff --git a/src/target/cortex_a.c b/src/target/cortex_a.c index d27c298b6..5018a91d4 100644 --- a/src/target/cortex_a.c +++ b/src/target/cortex_a.c @@ -3143,7 +3143,6 @@ static const struct command_registration cortex_a_command_handlers[] = { struct target_type cortexa_target = { .name = "cortex_a", - .deprecated_name = "cortex_a8", .poll = cortex_a_poll, .arch_state = armv7a_arch_state, diff --git a/src/target/cortex_m.c b/src/target/cortex_m.c index 2a973e1f6..6dc33c867 100644 --- a/src/target/cortex_m.c +++ b/src/target/cortex_m.c @@ -2501,7 +2501,6 @@ static const struct command_registration cortex_m_command_handlers[] = { struct target_type cortexm_target = { .name = "cortex_m", - .deprecated_name = "cortex_m3", .poll = cortex_m_poll, .arch_state = armv7m_arch_state, diff --git a/src/target/hla_target.c b/src/target/hla_target.c index 9ac344245..cd57dd207 100644 --- a/src/target/hla_target.c +++ b/src/target/hla_target.c @@ -640,7 +640,6 @@ static const struct command_registration adapter_command_handlers[] = { struct target_type hla_target = { .name = "hla_target", - .deprecated_name = "stm32_stlink", .init_target = adapter_init_target, .deinit_target = cortex_m_deinit_target,