summaryrefslogtreecommitdiff
path: root/src/flash/str7x.h
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 07:39:06 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:07 -0800
commit3b09560ae8db9685f03b358709fc63d1bb545628 (patch)
tree7148bff4f07c8068c23779cfbcca4505693128f9 /src/flash/str7x.h
parent01b10d65bfcc6eb9a3994b20b1342389edda2df0 (diff)
downloadopenocd+libswd-3b09560ae8db9685f03b358709fc63d1bb545628.tar.gz
openocd+libswd-3b09560ae8db9685f03b358709fc63d1bb545628.tar.bz2
openocd+libswd-3b09560ae8db9685f03b358709fc63d1bb545628.tar.xz
openocd+libswd-3b09560ae8db9685f03b358709fc63d1bb545628.zip
str7x_flash_bank_t -> struct str7x_flash_bank
Remove misleading typedef and redundant suffix from struct str7x_flash_bank.
Diffstat (limited to 'src/flash/str7x.h')
-rw-r--r--src/flash/str7x.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/flash/str7x.h b/src/flash/str7x.h
index ecbbc761..838d46c2 100644
--- a/src/flash/str7x.h
+++ b/src/flash/str7x.h
@@ -25,14 +25,14 @@
#include "flash.h"
-typedef struct str7x_flash_bank_s
+struct str7x_flash_bank
{
uint32_t *sector_bits;
uint32_t disable_bit;
uint32_t busy_bits;
uint32_t register_base;
working_area_t *write_algorithm;
-} str7x_flash_bank_t;
+};
enum str7x_status_codes
{