This is an automated email from Gerrit.

"Peter Collingbourne <p...@google.com>" just uploaded a new patch set to 
Gerrit, which you can find at https://review.openocd.org/c/openocd/+/8422

-- gerrit

commit 2973c64686a78bc1e7b2cd9374a89afd43a99018
Author: Peter Collingbourne <p...@google.com>
Date:   Wed Jul 31 19:05:06 2024 -0700

    arm_cti: Add CTIDEVCTL to register list
    
    This is useful for setting a reset catch on a CPU that is being
    brought out of reset.
    
    Change-Id: Id8fe9bc3f75fd170f207f470a9f3b0faba7f24c1
    Signed-off-by: Peter Collingbourne <p...@google.com>

diff --git a/src/target/arm_cti.c b/src/target/arm_cti.c
index dc85f176d5..a003f11c51 100644
--- a/src/target/arm_cti.c
+++ b/src/target/arm_cti.c
@@ -189,6 +189,7 @@ static const struct {
        { CTI_APPCLEAR, "APPCLR" },
        { CTI_APPPULSE, "APPPULSE" },
        { CTI_INACK,    "INACK" },
+       { CTI_DEVCTL,   "DEVCTL" },
 };
 
 static int cti_find_reg_offset(const char *name)
diff --git a/src/target/arm_cti.h b/src/target/arm_cti.h
index cfcde65608..1513f0254a 100644
--- a/src/target/arm_cti.h
+++ b/src/target/arm_cti.h
@@ -39,6 +39,7 @@
 #define CTI_CHIN_STATUS                0x138
 #define CTI_CHOU_STATUS                0x13C
 #define CTI_GATE                       0x140
+#define CTI_DEVCTL                     0x150
 #define CTI_UNLOCK                     0xFB0
 
 #define CTI_CHNL(x)                    (1 << x)

-- 

Reply via email to