]> git.sur5r.net Git - openocd/blobdiff - src/target/arm_adi_v5.h
arm_adi_v5: fix for csw nonsecure access.
[openocd] / src / target / arm_adi_v5.h
index 301402eca4483619eebb7fd0644732ffa97b0e23..638fc4eac538fb7b25ce10d6f381969d812bc250 100644 (file)
 /* 30:24 - implementation-defined! */
 #define CSW_HPROT                      (1 << 25)               /* ? */
 #define CSW_MASTER_DEBUG       (1 << 29)               /* ? */
+#define CSW_SPROT (1 << 30)
 #define CSW_DBGSWENABLE                (1 << 31)
 
 /**
@@ -141,6 +142,7 @@ struct adiv5_dap {
        /* Control config */
        uint32_t dp_ctrl_stat;
 
+       uint32_t apcsw[256];
        uint32_t apsel;
 
        /**