From 941fa8538f2ad491f365a3818caa7534aaf29ea3 Mon Sep 17 00:00:00 2001 From: Peter Collingbourne Date: Wed, 31 Jul 2024 19:05:06 -0700 Subject: [PATCH] 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 Reviewed-on: https://review.openocd.org/c/openocd/+/8422 Tested-by: jenkins Reviewed-by: Antonio Borneo --- src/target/arm_cti.c | 1 + src/target/arm_cti.h | 1 + 2 files changed, 2 insertions(+) diff --git a/src/target/arm_cti.c b/src/target/arm_cti.c index 422513e3e..97d1fb34b 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 cfcde6560..1513f0254 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)