This is an automated email from Gerrit.

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

-- gerrit

commit 616c077b764c7cc75dc51debec634100f060330e
Author: Christopher Kilgour <[email protected]>
Date:   Sat Jul 7 17:01:43 2012 -0700

    kinetis: ensure flash writes are not truncated
    
    Align comments to conform with checkpatch
    
    Change-Id: I638188d502f36607d55e7ca42336ee33481a1020
    Signed-off-by: Christopher Kilgour <[email protected]>

diff --git a/src/flash/nor/kinetis.c b/src/flash/nor/kinetis.c
index 8bac13d..c5a0493 100644
--- a/src/flash/nor/kinetis.c
+++ b/src/flash/nor/kinetis.c
@@ -356,9 +356,11 @@ static int kinetis_write(struct flash_bank *bank, uint8_t 
*buffer,
 
                        wc = kinfo->sector_size / 4;
 
-                        /* If remaining bytes are less than the full
-                           sector, determine the number of full-words
-                           to program */
+                       /* 
+                        * If remaining bytes are less than the full
+                        * sector, determine the number of full-words
+                        * to program
+                        */
                        if ((count - i) < kinfo->sector_size) {
                                wc = (count - i + 3) / 4;
                        }

-- 

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