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

-- gerrit

commit 9cfaad2b961d36bc4b469c9550e61c0e2b336dea
Author: Oleksij Rempel <[email protected]>
Date:   Fri May 22 08:48:46 2015 +0200

    fixme: src/target/cortex_a.c: disable fast read/write
    
    This functions seems to be brocken on imx6
    
    Change-Id: I6b00f4a631319412b89d878ab29ea3557883454b
    Signed-off-by: Oleksij Rempel <[email protected]>

diff --git a/src/target/cortex_a.c b/src/target/cortex_a.c
index df0c87e..372f88b 100644
--- a/src/target/cortex_a.c
+++ b/src/target/cortex_a.c
@@ -2181,7 +2181,8 @@ static int cortex_a_write_apb_ab_memory(struct target 
*target,
        if (retval != ERROR_OK)
                goto out;
 
-       if (size == 4 && (address % 4) == 0) {
+       //if (size == 4 && (address % 4) == 0) {
+       if (0) {
                /* We are doing a word-aligned transfer, so use fast mode. */
                retval = cortex_a_write_apb_ab_memory_fast(target, count, 
buffer, &dscr);
        } else {
@@ -2486,7 +2487,8 @@ static int cortex_a_read_apb_ab_memory(struct target 
*target,
        if (retval != ERROR_OK)
                goto out;
 
-       if (size == 4 && (address % 4) == 0) {
+       //if (size == 4 && (address % 4) == 0) {
+       if (0) {
                /* We are doing a word-aligned transfer, so use fast mode. */
                retval = cortex_a_read_apb_ab_memory_fast(target, count, 
buffer, &dscr);
        } else {

-- 

------------------------------------------------------------------------------
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to