This is an automated email from Gerrit.

Spencer Oliver (s...@spen-soft.co.uk) just uploaded a new patch set to Gerrit, 
which you can find at http://openocd.zylin.com/400

-- gerrit

commit cf5241f81b2ec8c44ccbfc0a413fedb47600aa7f
Author: Spencer Oliver <s...@spen-soft.co.uk>
Date:   Wed Jan 25 14:58:47 2012 +0000

    flash: fix stellaris class regression
    
    for some reason the following commit was incorrect
    769064de4bd8fc59804c37a418b83fcdba6fd36f
    
    Only the Sandstorm and Fury class should write this register.
    
    Change-Id: Ie18f1da6e9b59fb99cca47aa93c7f2fee447ccea
    Signed-off-by: Spencer Oliver <s...@spen-soft.co.uk>

diff --git a/src/flash/nor/stellaris.c b/src/flash/nor/stellaris.c
index b14c078..1aaa6e4 100644
--- a/src/flash/nor/stellaris.c
+++ b/src/flash/nor/stellaris.c
@@ -529,7 +529,7 @@ static void stellaris_set_flash_timing(struct flash_bank 
*bank)
        uint32_t usecrl = (stellaris_info->mck_freq/1000000ul-1);
 
        /* only valid for Sandstorm and Fury class devices */
-       if (stellaris_info->target_class < 2)
+       if (stellaris_info->target_class > 1)
                return;
 
        LOG_DEBUG("usecrl = %i",(int)(usecrl));

-- 

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to