diff options
author | Tim Newsome <tim@sifive.com> | 2021-05-14 16:32:09 -0700 |
---|---|---|
committer | Tim Newsome <tim@sifive.com> | 2021-05-14 16:32:30 -0700 |
commit | f31c13028677e62852986ef27274f19c579759a3 (patch) | |
tree | fca554810f913821af4168e3a9c36cb98587feba | |
parent | 0ce272ff7401edf0efd27381b2b9979699129d5d (diff) | |
download | riscv-openocd-f31c13028677e62852986ef27274f19c579759a3.zip riscv-openocd-f31c13028677e62852986ef27274f19c579759a3.tar.gz riscv-openocd-f31c13028677e62852986ef27274f19c579759a3.tar.bz2 |
Remote enable_rtos_riscv command.
I'd missed this when that functionality was removed.
Change-Id: If5b697d9dbac517a077d9c1826c747fc95b19f1f
Signed-off-by: Tim Newsome <tim@sifive.com>
-rw-r--r-- | src/target/target.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/target/target.c b/src/target/target.c index 3d98bd2..34016a3 100644 --- a/src/target/target.c +++ b/src/target/target.c @@ -6231,17 +6231,6 @@ COMMAND_HANDLER(handle_fast_load_command) return retval; } -bool enable_rtos_riscv; -COMMAND_HANDLER(handle_enable_rtos_riscv_command) -{ - if (CMD_ARGC != 0) { - LOG_ERROR("Command takes no arguments"); - return ERROR_COMMAND_SYNTAX_ERROR; - } - enable_rtos_riscv = true; - return ERROR_OK; -} - static const struct command_registration target_command_handlers[] = { { .name = "targets", @@ -6258,14 +6247,6 @@ static const struct command_registration target_command_handlers[] = { .chain = target_subcommand_handlers, .usage = "", }, - { - .name = "enable_rtos_riscv", - .handler = handle_enable_rtos_riscv_command, - .mode = COMMAND_CONFIG, - .usage = "enable_rtos_riscv", - .help = "Allow the use of `-rtos riscv` for just a little longer, " - "until it will be completely removed at the end of 2020." - }, COMMAND_REGISTRATION_DONE }; |