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

-- gerrit

commit 89fa3785293e16d4da007aa7a7e2bc9e8e1f7483
Author: Spencer Oliver <[email protected]>
Date:   Fri Aug 10 16:17:24 2012 +0100

    flash: fix FC_FLEX_RAM class code path
    
    If the flash class was defined as FC_FLEX_RAM then this would always drop
    through to the default handler.
    
    This bug was found by clang, so untested.
    
    Change-Id: I2d9fe6415dd216728a145519400f7b9ef1bd3c3a
    Signed-off-by: Spencer Oliver <[email protected]>

diff --git a/src/flash/nor/kinetis.c b/src/flash/nor/kinetis.c
index cf36104..e0bb5c2 100644
--- a/src/flash/nor/kinetis.c
+++ b/src/flash/nor/kinetis.c
@@ -587,6 +587,8 @@ static int kinetis_read_part_info(struct flash_bank *bank)
                                        LOG_DEBUG("FlexRAM bank %d already 
configured okay",
                                                  kinfo->bank_ordinal);
                                }
+                               break;
+
                        default:
                                LOG_WARNING("Unknown or inconsistent flash 
class");
                                reassign = 1;

-- 

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