Skip to content

Commit

Permalink
target/cortex_m: add DSCSR_CDSKEY bit definition
Browse files Browse the repository at this point in the history
Needed e.g. for flash drivers handling secure mode.

Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Change-Id: If6cb49609140d06a73bcf2e446b6a634d6326e80
Reviewed-on: https://review.openocd.org/c/openocd/+/8435
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
  • Loading branch information
tom-van authored and borneoa committed Aug 25, 2024
1 parent e7a0600 commit e09bb72
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/target/cortex_m.h
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ struct cortex_m_part_info {
#define VC_CORERESET BIT(0)

/* DCB_DSCSR bit and field definitions */
#define DSCSR_CDSKEY BIT(17)
#define DSCSR_CDS BIT(16)

/* NVIC registers */
Expand Down

0 comments on commit e09bb72

Please sign in to comment.