From 44928321e6d4d67bcb3da7022ff9d23e0c8ee78b Mon Sep 17 00:00:00 2001 From: oharboe Date: Thu, 17 Jul 2008 08:34:14 +0000 Subject: Charles Hardin and Øyvind Harboe MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This patch just uses the command.c interface to create tcl commands for the root level commands and avoids a bit of the "TCL" bleed into the rest of the openocd code. Multilevel commands also supported. git-svn-id: svn://svn.berlios.de/openocd/trunk@818 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/flash/flash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/flash') diff --git a/src/flash/flash.c b/src/flash/flash.c index b51db58c..900fdbf9 100644 --- a/src/flash/flash.c +++ b/src/flash/flash.c @@ -188,7 +188,7 @@ int flash_init_drivers(struct command_context_s *cmd_ctx) { if (flash_banks) { - Jim_CreateCommand(interp, "flash_banks", Jim_Command_flash_banks, NULL, NULL ); + Jim_CreateCommand(interp, "openocd_flash_banks", Jim_Command_flash_banks, NULL, NULL ); register_command(cmd_ctx, flash_cmd, "info", handle_flash_info_command, COMMAND_EXEC, "print info about flash bank "); -- cgit v1.2.3