str7x_mem_layout_t -> struct str7x_mem_layout
authorZachary T Welch <zw@superlucidity.net>
Fri, 13 Nov 2009 15:39:09 +0000 (07:39 -0800)
committerZachary T Welch <zw@superlucidity.net>
Fri, 13 Nov 2009 19:58:07 +0000 (11:58 -0800)
Remove misleading typedef and redundant suffix from struct str7x_mem_layout.

src/flash/str7x.c
src/flash/str7x.h

index 5e1c9cb1323c4412278978bf7d5fe26455ed8190..84a246a454f0f62b2af46090b272df0160377e36 100644 (file)
@@ -29,7 +29,7 @@
 #include "binarybuffer.h"
 
 
-str7x_mem_layout_t mem_layout_str7bank0[] = {
+struct str7x_mem_layout mem_layout_str7bank0[] = {
        {0x00000000, 0x02000, 0x01},
        {0x00002000, 0x02000, 0x02},
        {0x00004000, 0x02000, 0x04},
@@ -40,7 +40,7 @@ str7x_mem_layout_t mem_layout_str7bank0[] = {
        {0x00030000, 0x10000, 0x80}
 };
 
-str7x_mem_layout_t mem_layout_str7bank1[] = {
+struct str7x_mem_layout mem_layout_str7bank1[] = {
        {0x00000000, 0x02000, 0x10000},
        {0x00002000, 0x02000, 0x20000}
 };
index 838d46c2da07a6f4e38f15541f1d5a9b9c202ae0..ef2d2e339f406c9bf8152e5acccc38647b09a085 100644 (file)
@@ -101,10 +101,10 @@ enum str7x_status_codes
 #define FLASH_ERER             0x00000002
 #define FLASH_ERR              0x00000001
 
-typedef struct str7x_mem_layout_s {
+struct str7x_mem_layout {
        uint32_t sector_start;
        uint32_t sector_size;
        uint32_t sector_bit;
-} str7x_mem_layout_t;
+};
 
 #endif /* STR7X_H */

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)