Andreas Fritiofson <andreas.fritiofson@gmail.com> UTF8 fixes
[fw/openocd] / src / flash / ecos.c
index 1a2aa68d44d4a239f08d535d740177d4b4a6ca21..76859df5db90046fbd8894bf965f3d8b96cde1cb 100644 (file)
@@ -1,5 +1,5 @@
 /***************************************************************************
- *   Copyright (C) 2007,2008 Øyvind Harboe                                 *
+ *   Copyright (C) 2007,2008 Øyvind Harboe                                 *
  *   oyvind.harboe@zylin.com                                               *
  *                                                                         *
  *   This program is free software; you can redistribute it and/or modify  *
@@ -281,7 +281,7 @@ static int eCosBoard_erase(ecosflash_flash_bank_t *info, uint32_t address, uint3
                        0,
                        &flashErr,
                        timeout
-                       );
+);
        if (retval != ERROR_OK)
                return retval;
 
@@ -319,10 +319,10 @@ static int eCosBoard_flash(ecosflash_flash_bank_t *info, void *data, uint32_t ad
 
 
        uint32_t i;
-       for (i = 0; i<len; i += chunk)
+       for (i = 0; i < len; i += chunk)
        {
                int t = len-i;
-               if (t>chunk)
+               if (t > chunk)
                {
                        t = chunk;
                }