This is an automated email from Gerrit.

Alamy Liu ([email protected]) just uploaded a new patch set to Gerrit, which 
you can find at http://openocd.zylin.com/3255

-- gerrit

commit b12042c8a5ede25a4b78e5984c7fa1131ea5e590
Author: Alamy Liu <[email protected]>
Date:   Wed Aug 12 10:33:13 2015 -0700

    adi_v5: Update AP types and add AP classes
    
    Add AP_TYPE_AXI_AP into "enum ap_type"
    Add "enum ap_class"
    Move them (enum) close to its register (IDR) definition.
    
    Change-Id: I7cf1237dd1f2fcafeb3e83fb05d0c33d32741adc
    Signed-off-by: Alamy Liu <[email protected]>

diff --git a/src/target/arm_adi_v5.h b/src/target/arm_adi_v5.h
index e7d602c..ffbfdc2 100644
--- a/src/target/arm_adi_v5.h
+++ b/src/target/arm_adi_v5.h
@@ -314,15 +314,18 @@ struct dap_ops {
 };
 
 /*
- * Access Port classes
+ * Access Port classes (IDR[16:13])
  */
 enum ap_class {
        AP_CLASS_NONE   = 0x00000,  /* No class defined */
        AP_CLASS_MEM_AP = 0x10000,  /* MEM-AP */
+
+       AP_CLASS_JTAG = 0x0,    /* No defined class (JTAG-AP) */
+       AP_CLASS_MEM  = 0x8     /* MEM-AP (AHB, APB, AXI) */
 };
 
 /*
- * Access Port types
+ * Access Port types (IDR[3:0])
  */
 enum ap_type {
        AP_TYPE_JTAG_AP = 0x0,  /* JTAG-AP - JTAG master for controlling other 
JTAG devices */

-- 

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to