summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 08:41:18 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:10 -0800
commite976786d55c367ec5b867baffb055b06bbda6ea0 (patch)
treef165ed83a293878aaee25dc8b61b26b448df6c8c
parent2dd9c5e1da3a7e9152e7ca45fefc73363b509d5a (diff)
downloadopenocd+libswd-e976786d55c367ec5b867baffb055b06bbda6ea0.tar.gz
openocd+libswd-e976786d55c367ec5b867baffb055b06bbda6ea0.tar.bz2
openocd+libswd-e976786d55c367ec5b867baffb055b06bbda6ea0.tar.xz
openocd+libswd-e976786d55c367ec5b867baffb055b06bbda6ea0.zip
armv4_5_cachesize_t -> struct armv4_5_cachesize
Remove misleading typedef and redundant suffix from struct armv4_5_cachesize.
-rw-r--r--src/target/armv4_5_cache.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/target/armv4_5_cache.h b/src/target/armv4_5_cache.h
index 71e3203c..9a06090d 100644
--- a/src/target/armv4_5_cache.h
+++ b/src/target/armv4_5_cache.h
@@ -24,20 +24,20 @@
struct command_context_s;
-typedef struct armv4_5_cachesize_s
+struct armv4_5_cachesize
{
int linelen;
int associativity;
int nsets;
int cachesize;
-} armv4_5_cachesize_t;
+};
typedef struct armv4_5_cache_common_s
{
int ctype; /* specify supported cache operations */
int separate; /* separate caches or unified cache */
- armv4_5_cachesize_t d_u_size; /* data cache */
- armv4_5_cachesize_t i_size; /* instruction cache */
+ struct armv4_5_cachesize d_u_size; /* data cache */
+ struct armv4_5_cachesize i_size; /* instruction cache */
int i_cache_enabled;
int d_u_cache_enabled;
} armv4_5_cache_common_t;