summaryrefslogtreecommitdiff
path: root/src/flash/lpc2900.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/lpc2900.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/lpc2900.c')
-rw-r--r--src/flash/lpc2900.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/lpc2900.c b/src/flash/lpc2900.c
index 08879077..5b6a5be4 100644
--- a/src/flash/lpc2900.c
+++ b/src/flash/lpc2900.c
@@ -718,7 +718,7 @@ COMMAND_HANDLER(lpc2900_handle_write_custom_command)
}
/* The image will always start at offset 0 */
- image_t image;
+ struct image image;
image.base_address_set = 1;
image.base_address = 0;
image.start_address_set = 0;