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 http://openocd.zylin.com/4623

-- gerrit

commit 6217b6f9ba8ca5b6356ec1e21cf5bc96878e9d43
Author: Antonio Borneo <borneo.anto...@gmail.com>
Date:   Wed Jul 25 09:47:16 2018 +0200

    target/cortex_a: allow command dacrfixup during init phase
    
    There is no reason to restrict the command "cortex_a dacrfixup"
    to the EXEC phase only.
    Change the command mode to ANY so the command can be used in
    the initialization phase too.
    
    Change-Id: I498cc6b2dbdc48b3b2dd5f0445519a51857b295f
    Signed-off-by: Antonio Borneo <borneo.anto...@gmail.com>

diff --git a/src/target/cortex_a.c b/src/target/cortex_a.c
index 08b6ef9..bc4aa33 100644
--- a/src/target/cortex_a.c
+++ b/src/target/cortex_a.c
@@ -3472,7 +3472,7 @@ static const struct command_registration 
cortex_a_exec_command_handlers[] = {
        {
                .name = "dacrfixup",
                .handler = handle_cortex_a_dacrfixup_command,
-               .mode = COMMAND_EXEC,
+               .mode = COMMAND_ANY,
                .help = "set domain access control (DACR) to all-manager "
                        "on memory access",
                .usage = "['on'|'off']",

-- 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to