This is an automated email from Gerrit.

"Antonio Borneo <borneo.anto...@gmail.com>" just uploaded a new patch set to 
Gerrit, which you can find at https://review.openocd.org/c/openocd/+/8832

-- gerrit

commit 09cf943f9dbdcec33160743805eaaa3e68416a56
Author: Antonio Borneo <borneo.anto...@gmail.com>
Date:   Sun Apr 6 14:59:50 2025 +0200

    flash: stellaris: fix deprecated command
    
    The driver directly runs a TCL command that has been renamed with
    commit 4d99e77419e3 ("jtag/hla: Restructure commands"), while the
    original name has been deprecated.
    
    Update the TCL command to the new syntax.
    
    Change-Id: I2fc9ef9a209bae1d78951e253d54164b2ac00cdd
    Signed-off-by: Antonio Borneo <borneo.anto...@gmail.com>
    Fixes: 4d99e77419e3 ("jtag/hla: Restructure commands")

diff --git a/src/flash/nor/stellaris.c b/src/flash/nor/stellaris.c
index 1f53b2f35e..f7dcc6f0e3 100644
--- a/src/flash/nor/stellaris.c
+++ b/src/flash/nor/stellaris.c
@@ -1342,7 +1342,7 @@ COMMAND_HANDLER(stellaris_handle_recover_command)
         * cycle to recover.
         */
 
-       Jim_Eval_Named(CMD_CTX->interp, "catch { hla_command \"debug unlock\" 
}", NULL, 0);
+       Jim_Eval_Named(CMD_CTX->interp, "catch { hla command \"debug unlock\" 
}", NULL, 0);
        if (!strcmp(Jim_GetString(Jim_GetResult(CMD_CTX->interp), NULL), "0")) {
                retval = ERROR_OK;
                goto user_action;

-- 

Reply via email to