Merge pull request #605 from riscv/rtos_riscv

Remove enable_rtos_riscv command.
This commit is contained in:
Tim Newsome 2021-05-17 12:08:19 -07:00 committed by GitHub
commit 10957400c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 19 deletions

View File

@ -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
};