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/3282

-- gerrit

commit 5f66f1c83152afb5af1f5fe456fd3fc021955ede
Author: Alamy Liu <[email protected]>
Date:   Wed Aug 12 15:24:36 2015 -0700

    aarch64: Use debugport_init()
    
    Change-Id: Idb8fbc3bbf2909d403061376822d9f85c1d751bf
    Signed-off-by: Alamy Liu <[email protected]>

diff --git a/src/target/aarch64.c b/src/target/aarch64.c
index cab4bbd..c616250 100644
--- a/src/target/aarch64.c
+++ b/src/target/aarch64.c
@@ -2207,12 +2207,18 @@ static int aarch64_examine_first(struct target *target)
        uint32_t pfr, debug, ctypr, ttypr, cpuid;
        int i;
 
+#if 0  /* Alamy */
        /* We do one extra read to ensure DAP is configured,
         * we call ahbap_debugport_init(swjdp) instead
         */
        retval = ahbap_debugport_init(swjdp);
        if (retval != ERROR_OK)
                return retval;
+#else
+       retval = debugport_init(swjdp);
+       if (retval != ERROR_OK)
+               return retval;
+#endif
 
 #if 0
        /* Alamy: This code is not perfect to detect every platform */

-- 

------------------------------------------------------------------------------
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