]> git.sur5r.net Git - openocd/blobdiff - src/target/cortex_a.c
cortex_m: Select an AP when accessing the DAP
[openocd] / src / target / cortex_a.c
index 86bf757ee519dc3416431d7d2ad860d726123741..410b13f54a3c3db7d15ca88f769ba740595ad6b1 100644 (file)
@@ -2938,7 +2938,7 @@ static int cortex_a_examine_first(struct target *target)
        /* We do one extra read to ensure DAP is configured,
         * we call ahbap_debugport_init(swjdp) instead
         */
-       retval = ahbap_debugport_init(swjdp);
+       retval = ahbap_debugport_init(swjdp, 0);
        if (retval != ERROR_OK)
                return retval;