Fixed the flash_config registered name. Tested on a HITEX STR912 evalboard.

Signed-off-by: Edgar Grimberg <edgar.grimb...@zylin.com>
---
 src/flash/nor/str9x.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/flash/nor/str9x.c b/src/flash/nor/str9x.c
index 9cddb50..75c8152 100644
--- a/src/flash/nor/str9x.c
+++ b/src/flash/nor/str9x.c
@@ -679,7 +679,7 @@ COMMAND_HANDLER(str9x_handle_flash_config_command)
 
 static const struct command_registration str9x_config_command_handlers[] = {
        {
-               .name = "disable_jtag",
+               .name = "flash_config",
                .handler = &str9x_handle_flash_config_command,
                .mode = COMMAND_EXEC,
                .help = "configure str9x flash controller",
-- 
1.6.3.3

_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to