- only some cosmetic changes, convert \r\n to unix
authormifi <mifi@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Mon, 17 Dec 2007 22:12:57 +0000 (22:12 +0000)
committermifi <mifi@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Mon, 17 Dec 2007 22:12:57 +0000 (22:12 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@239 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/flash/cfi.c
src/flash/flash.c
src/helper/replacements.c

index ddaaee7dfac4169ff374b52dfc5f7aea0ab391ef..cc5a69e1c81b2b4c9e6f0583bac6b55c31a36605 100644 (file)
@@ -1014,15 +1014,15 @@ int cfi_intel_write_block(struct flash_bank_s *bank, u8 *buffer, u32 address, u3
 
        armv4_5_info.common_magic = ARMV4_5_COMMON_MAGIC;
        armv4_5_info.core_mode = ARMV4_5_MODE_SVC;
-       armv4_5_info.core_state = ARMV4_5_STATE_ARM;\r
-  \r
+       armv4_5_info.core_state = ARMV4_5_STATE_ARM;
+  
        /* If we are setting up the write_algorith, we need target_code_src */
        /* if not we only need target_code_size.                                                                                                                */
        /*                                                                                                                                                                                                                                                                      */
        /* However, we don't want to create multiple code paths, so we                  */
        /* do the unecessary evaluation of target_code_src, which the                   */
        /* compiler will probably nicely optimize away if not needed                            */
-  \r
+  
        /* prepare algorithm code for target endian */
        switch (bank->bus_width)
        {
index 4b18bc35e8ef80e11ea54e8bb563aeffe1308147..653a7ab2707dadcb4301940cc83690c7afb9a0d4 100644 (file)
@@ -176,8 +176,8 @@ int handle_flash_bank_command(struct command_context_s *cmd_ctx, char *cmd, char
                        c->base = strtoul(args[1], NULL, 0);
                        c->size = strtoul(args[2], NULL, 0);
                        c->chip_width = strtoul(args[3], NULL, 0);
-                       c->bus_width = strtoul(args[4], NULL, 0);\r
-                       c->num_sectors = 0;\r
+                       c->bus_width = strtoul(args[4], NULL, 0);
+                       c->num_sectors = 0;
                        c->sectors = NULL;
                        c->next = NULL;
                        
@@ -563,7 +563,7 @@ int handle_flash_write_image_command(struct command_context_s *cmd_ctx, char *cm
        }
        
        image.start_address_set = 0;
-\r
+
        retval = image_open(&image, args[0], (argc == 3) ? args[2] : NULL);
        if (retval != ERROR_OK)
        {
index 5804b1973adb2946bf6e3e30e191c92717042ff5..49f12d7844c73f0799755463b1be73249c7e0190 100644 (file)
  ***************************************************************************/
 #ifdef HAVE_CONFIG_H
 #include "config.h"
-#endif\r
-\r
+#endif
+
 /* DANGER!!!! These must be defined *BEFORE* replacements.h and the malloc() macro!!!! */
 
 #include <stdlib.h>
 #include <strings.h>
-/* \r
- * clear_malloc\r
- *\r
- * will alloc memory and clear it\r
+/* 
+ * clear_malloc
+ *
+ * will alloc memory and clear it
  */
 void *clear_malloc(size_t size)
 {

Linking to existing account procedure

If you already have an account and want to add another login method you MUST first sign in with your existing account and then change URL to read https://review.openocd.org/login/?link to get to this page again but this time it'll work for linking. Thank you.

SSH host keys fingerprints

1024 SHA256:YKx8b7u5ZWdcbp7/4AeXNaqElP49m6QrwfXaqQGJAOk gerrit-code-review@openocd.zylin.com (DSA)
384 SHA256:jHIbSQa4REvwCFG4cq5LBlBLxmxSqelQPem/EXIrxjk gerrit-code-review@openocd.org (ECDSA)
521 SHA256:UAOPYkU9Fjtcao0Ul/Rrlnj/OsQvt+pgdYSZ4jOYdgs gerrit-code-review@openocd.org (ECDSA)
256 SHA256:A13M5QlnozFOvTllybRZH6vm7iSt0XLxbA48yfc2yfY gerrit-code-review@openocd.org (ECDSA)
256 SHA256:spYMBqEYoAOtK7yZBrcwE8ZpYt6b68Cfh9yEVetvbXg gerrit-code-review@openocd.org (ED25519)
+--[ED25519 256]--+
|=..              |
|+o..   .         |
|*.o   . .        |
|+B . . .         |
|Bo. = o S        |
|Oo.+ + =         |
|oB=.* = . o      |
| =+=.+   + E     |
|. .=o   . o      |
+----[SHA256]-----+
2048 SHA256:0Onrb7/PHjpo6iVZ7xQX2riKN83FJ3KGU0TvI0TaFG4 gerrit-code-review@openocd.zylin.com (RSA)