Skip to content
Snippets Groups Projects
Commit a092e8d2 authored by Antonio Borneo's avatar Antonio Borneo Committed by Øyvind Harboe
Browse files

NOR TCL: fix usage message


The command "flash bank" has updated syntax.
Add the mandatory parameter <target> to the usage message
that prints in case of error.

Signed-off-by: default avatarAntonio Borneo <borneo.antonio@gmail.com>
parent 27b98c2f
No related branches found
No related tags found
No related merge requests found
...@@ -789,7 +789,7 @@ COMMAND_HANDLER(handle_flash_bank_command) ...@@ -789,7 +789,7 @@ COMMAND_HANDLER(handle_flash_bank_command)
if (CMD_ARGC < 7) if (CMD_ARGC < 7)
{ {
LOG_ERROR("usage: flash bank <name> <driver> " LOG_ERROR("usage: flash bank <name> <driver> "
"<base> <size> <chip_width> <bus_width>"); "<base> <size> <chip_width> <bus_width> <target>");
return ERROR_COMMAND_SYNTAX_ERROR; return ERROR_COMMAND_SYNTAX_ERROR;
} }
// save bank name and advance arguments for compatibility // save bank name and advance arguments for compatibility
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment