projects
/
fw
/
openocd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1c7b0a
)
target/arm_cti : export CTI APPPULSE and INACK register
author
Tarek BOUCHKATI
<tarek.bouchkati@st.com>
Thu, 20 Dec 2018 18:10:17 +0000
(19:10 +0100)
committer
Matthias Welwarsky
<matthias@welwarsky.de>
Thu, 27 Dec 2018 12:47:47 +0000
(12:47 +0000)
this permits the full control of CTI from config files
Change-Id: Ia27ac8e12e08ec72da05f26dcbd81d24fa1a0f6f
Signed-off-by: Tarek BOCHKATI <tarek.bouchkati@gmail.com>
Reviewed-on: http://openocd.zylin.com/4815
Tested-by: jenkins
Reviewed-by: Matthias Welwarsky <matthias@welwarsky.de>
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
src/target/arm_cti.c
patch
|
blob
|
history
diff --git
a/src/target/arm_cti.c
b/src/target/arm_cti.c
index df60372533112c01bbb72fc2799ac2cf49a08eca..f33379240d5b159ac8fb0f8c7ccd209f47c09c0b 100644
(file)
--- a/
src/target/arm_cti.c
+++ b/
src/target/arm_cti.c
@@
-173,7
+173,7
@@
int arm_cti_clear_channel(struct arm_cti *self, uint32_t channel)
return arm_cti_write_reg(self, CTI_APPCLEAR, CTI_CHNL(channel));
}
-static uint32_t cti_regs[2
6
];
+static uint32_t cti_regs[2
8
];
static const struct {
uint32_t offset;
@@
-206,6
+206,8
@@
static const struct {
{ CTI_CHOU_STATUS, "CHOUT", &cti_regs[23] },
{ CTI_APPSET, "APPSET", &cti_regs[24] },
{ CTI_APPCLEAR, "APPCLR", &cti_regs[25] },
+ { CTI_APPPULSE, "APPPULSE", &cti_regs[26] },
+ { CTI_INACK, "INACK", &cti_regs[27] },
};
static int cti_find_reg_offset(const char *name)