This is an automated email from Gerrit.

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

-- gerrit

commit 2e5001e7775503f06ab89e904c39f6754e189d64
Author: Spencer Oliver <[email protected]>
Date:   Tue Jun 26 13:12:14 2012 +0100

    jtag: remove redundant id check
    
    commit 5b0a1315948252ddde03fc74763ef8300c5f329c removed the need to check
    for 0xffffffff.
    
    Change-Id: Ib4d99bf1797ccd868ec15631dbc16079571a8dd6
    Signed-off-by: Spencer Oliver <[email protected]>

diff --git a/src/jtag/core.c b/src/jtag/core.c
index 55abe75..5d5803a 100644
--- a/src/jtag/core.c
+++ b/src/jtag/core.c
@@ -962,10 +962,10 @@ static bool jtag_idcode_is_final(uint32_t idcode)
 {
        /*
         * Some devices, such as AVR8, will output all 1's instead
-        * of TDI input value at end of chain.  Allow those values
+        * of TDI input value at end of chain. Allow those values
         * instead of failing.
         */
-       return idcode == END_OF_CHAIN_FLAG || idcode == 0xFFFFFFFF;
+       return idcode == END_OF_CHAIN_FLAG;
 }
 
 /**

-- 

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to