Browse Source

- typo with flash bank help command

- typo with flash erase_sector in texi

git-svn-id: svn://svn.berlios.de/openocd/trunk@1225 b42882b7-edfa-0310-969c-e2dbd0fdcd60
tags/v0.1.0
ntfreak 15 years ago
parent
commit
a53c304319
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      doc/openocd.texi
  2. +1
    -1
      src/flash/flash.c

+ 1
- 1
doc/openocd.texi View File

@@ -1950,7 +1950,7 @@ updated information.
@cindex flash protect_check
@*Check protection state of sectors in flash bank <num>.
@option{flash erase_sector} using the same syntax.
@subsection fash erase_sector
@subsection flash erase_sector
@b{flash erase_sector} <@var{num}> <@var{first}> <@var{last}>
@cindex flash erase_sector
@anchor{flash erase_sector}


+ 1
- 1
src/flash/flash.c View File

@@ -144,7 +144,7 @@ int flash_register_commands(struct command_context_s *cmd_ctx)
{
flash_cmd = register_command(cmd_ctx, NULL, "flash", NULL, COMMAND_ANY, NULL);

register_command(cmd_ctx, flash_cmd, "bank", handle_flash_bank_command, COMMAND_CONFIG, "flash_bank <driver> <base> <size> <chip_width> <bus_width> <target> [driver_options ...]");
register_command(cmd_ctx, flash_cmd, "bank", handle_flash_bank_command, COMMAND_CONFIG, "flash bank <driver> <base> <size> <chip_width> <bus_width> <target> [driver_options ...]");
return ERROR_OK;
}



Loading…
Cancel
Save