summaryrefslogtreecommitdiff
path: root/src/flash/stellaris.h
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 07:38:55 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:07 -0800
commit9059f9f28e4d88c9608ef92723bbd493e106ba67 (patch)
tree417d9975828937fce4cc5affb0cc3c591fbce9e0 /src/flash/stellaris.h
parented9c4ef3c41ac21d0a08cb7e07ab68d0c7930138 (diff)
downloadopenocd+libswd-9059f9f28e4d88c9608ef92723bbd493e106ba67.tar.gz
openocd+libswd-9059f9f28e4d88c9608ef92723bbd493e106ba67.tar.bz2
openocd+libswd-9059f9f28e4d88c9608ef92723bbd493e106ba67.tar.xz
openocd+libswd-9059f9f28e4d88c9608ef92723bbd493e106ba67.zip
stellaris_flash_bank_t -> struct stellaris_flash_bank
Remove misleading typedef and redundant suffix from struct stellaris_flash_bank.
Diffstat (limited to 'src/flash/stellaris.h')
-rw-r--r--src/flash/stellaris.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/flash/stellaris.h b/src/flash/stellaris.h
index eaf3d481..949a346d 100644
--- a/src/flash/stellaris.h
+++ b/src/flash/stellaris.h
@@ -22,7 +22,7 @@
#include "flash.h"
-typedef struct stellaris_flash_bank_s
+struct stellaris_flash_bank
{
/* chip id register */
uint32_t did0;
@@ -52,7 +52,7 @@ typedef struct stellaris_flash_bank_s
uint32_t mck_freq;
const char *iosc_desc;
const char *mck_desc;
-} stellaris_flash_bank_t;
+};
/* STELLARIS control registers */
#define SCB_BASE 0x400FE000