This is an automated email from Gerrit.

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

-- gerrit

commit dd18ec890f9f7c9bfa96a03743e634950cda5b7b
Author: Kent Brinkley <[email protected]>
Date:   Fri Sep 19 10:14:44 2014 -0700

    Timeout to short, correction timeout was doubled.
    
    Change-Id: I95451f6c940a7ac80933245984a1fb331d64326c
    Signed-off-by: Kent Brinkley <[email protected]>

diff --git a/src/target/mips32.c b/src/target/mips32.c
index eeaafb9..b18cf15 100644
--- a/src/target/mips32.c
+++ b/src/target/mips32.c
@@ -570,8 +570,8 @@ int mips32_configure_break_unit(struct target *target)
        }
 
        /* check if target endianness settings matches debug control register */
-    if (((ejtag_info->debug_caps & EJTAG_DCR_ENM) && (target->endianness == 
TARGET_LITTLE_ENDIAN)) ||
-               (!(ejtag_info->debug_caps & EJTAG_DCR_ENM) && 
(target->endianness == TARGET_BIG_ENDIAN))){
+       if (((ejtag_info->debug_caps & EJTAG_DCR_ENM) && (target->endianness == 
TARGET_LITTLE_ENDIAN)) ||
+               (!(ejtag_info->debug_caps & EJTAG_DCR_ENM) && 
(target->endianness == TARGET_BIG_ENDIAN))) {
                LOG_WARNING("DCR endianness settings does not match target 
settings");
                LOG_WARNING("Config file does not match DCR endianness");
        }
@@ -676,7 +676,7 @@ int mips32_checksum_memory(struct target *target, uint32_t 
address,
        init_reg_param(&reg_params[1], "a1", 32, PARAM_OUT);
        buf_set_u32(reg_params[1].value, 0, 32, count);
 
-    int timeout = (20000 * (1 + (count / (1024 * 1024))) * 2);
+       int timeout = (20000 * (1 + (count / (1024 * 1024))) * 2);
 
        int retval = target_run_algorithm(target, 0, NULL, 2, reg_params,
                        crc_algorithm->address, crc_algorithm->address + 
(sizeof(mips_crc_code) - 4), timeout,

-- 

------------------------------------------------------------------------------
Slashdot TV.  Video for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to