summaryrefslogtreecommitdiff
path: root/src/flash/ecos.c
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 09:46:21 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:13 -0800
commitdfecfd5fd471708ac15af08b52964e8f8da9f4be (patch)
treedf19af79ef4f26cb88e94657bc9db4aa604c7ac8 /src/flash/ecos.c
parentaf949b2531d2a8863d077025db40cbb170d13a63 (diff)
downloadopenocd+libswd-dfecfd5fd471708ac15af08b52964e8f8da9f4be.tar.gz
openocd+libswd-dfecfd5fd471708ac15af08b52964e8f8da9f4be.tar.bz2
openocd+libswd-dfecfd5fd471708ac15af08b52964e8f8da9f4be.tar.xz
openocd+libswd-dfecfd5fd471708ac15af08b52964e8f8da9f4be.zip
image_t -> struct image
Remove misleading typedef and redundant suffix from struct image. Also removes the typedef from enum image_type, as it is used in image.h only.
Diffstat (limited to 'src/flash/ecos.c')
-rw-r--r--src/flash/ecos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/ecos.c b/src/flash/ecos.c
index 450bd5b7..57df1e7f 100644
--- a/src/flash/ecos.c
+++ b/src/flash/ecos.c
@@ -153,7 +153,7 @@ static int loadDriver(struct ecosflash_flash_bank *info)
{
uint32_t buf_cnt;
uint32_t image_size;
- image_t image;
+ struct image image;
image.base_address_set = 0;
image.start_address_set = 0;