mirror of
https://github.com/linux-msm/openocd.git
synced 2026-02-25 13:15:07 -08:00
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 <pcc@google.com> Reviewed-on: https://review.openocd.org/c/openocd/+/8422 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
This commit is contained in:
committed by
Antonio Borneo
parent
fc1e73b9cf
commit
941fa8538f
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user