summaryrefslogtreecommitdiff
path: root/src/flash/non_cfi.h
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 07:41:28 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:08 -0800
commit54be77bc79ce05cd1ce4320958d8ce9d131aea09 (patch)
tree0585387c91dad45159b2407744b5d6878a52f44f /src/flash/non_cfi.h
parentd0dfec33b6d6844c3c1b817a464b9f040ce40087 (diff)
downloadopenocd+libswd-54be77bc79ce05cd1ce4320958d8ce9d131aea09.tar.gz
openocd+libswd-54be77bc79ce05cd1ce4320958d8ce9d131aea09.tar.bz2
openocd+libswd-54be77bc79ce05cd1ce4320958d8ce9d131aea09.tar.xz
openocd+libswd-54be77bc79ce05cd1ce4320958d8ce9d131aea09.zip
non_cfi_t -> struct non_cfi
Remove misleading typedef and redundant suffix from struct non_cfi.
Diffstat (limited to 'src/flash/non_cfi.h')
-rw-r--r--src/flash/non_cfi.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/flash/non_cfi.h b/src/flash/non_cfi.h
index 14a6df72..ef50ae5c 100644
--- a/src/flash/non_cfi.h
+++ b/src/flash/non_cfi.h
@@ -22,7 +22,7 @@
#include "flash.h"
-typedef struct non_cfi_s
+struct non_cfi
{
uint16_t mfr;
uint16_t id;
@@ -33,7 +33,7 @@ typedef struct non_cfi_s
uint8_t num_erase_regions;
uint32_t erase_region_info[6];
uint8_t status_poll_mask;
-} non_cfi_t;
+};
void cfi_fixup_non_cfi(flash_bank_t *bank);