This is an automated email from Gerrit.

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

-- gerrit

commit 52b212b68fc34aa0e7cd23aed5d48aedc7795aa7
Author: Oleksij Rempel <[email protected]>
Date:   Mon Jan 27 10:07:38 2014 +0100

    mips_ejtag.c: disable DMA for all platforms
    
    DMA seems to be brocken in many ways. Don't trust it!
    
    Change-Id: I7e28608f299abdf78d02a967c62849b6b2ce5985
    Signed-off-by: Oleksij Rempel <[email protected]>

diff --git a/src/target/mips_ejtag.c b/src/target/mips_ejtag.c
index 202dbae..c4133dd 100644
--- a/src/target/mips_ejtag.c
+++ b/src/target/mips_ejtag.c
@@ -424,8 +424,10 @@ int mips_ejtag_init(struct mips_ejtag *ejtag_info)
        }
        ejtag_main_print_imp(ejtag_info);
 
-       if ((ejtag_info->impcode & EJTAG_IMP_NODMA) == 0)
-               LOG_DEBUG("EJTAG: DMA Access Mode Support Enabled");
+       if ((ejtag_info->impcode & EJTAG_IMP_NODMA) == 0) {
+               LOG_DEBUG("EJTAG: DMA Access Mode detected. Disable it.");
+               ejtag_info->impcode |= EJTAG_IMP_NODMA;
+       }
 
        ejtag_info->ejtag_ctrl = EJTAG_CTRL_PRACC | EJTAG_CTRL_PROBEN;
 

-- 

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to