diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 09:46:21 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 11:58:13 -0800 |
commit | dfecfd5fd471708ac15af08b52964e8f8da9f4be (patch) | |
tree | df19af79ef4f26cb88e94657bc9db4aa604c7ac8 /src/target/target.c | |
parent | af949b2531d2a8863d077025db40cbb170d13a63 (diff) | |
download | riscv-openocd-dfecfd5fd471708ac15af08b52964e8f8da9f4be.zip riscv-openocd-dfecfd5fd471708ac15af08b52964e8f8da9f4be.tar.gz riscv-openocd-dfecfd5fd471708ac15af08b52964e8f8da9f4be.tar.bz2 |
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/target/target.c')
-rw-r--r-- | src/target/target.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/target/target.c b/src/target/target.c index 68172f1..df8496f 100644 --- a/src/target/target.c +++ b/src/target/target.c @@ -2363,7 +2363,7 @@ COMMAND_HANDLER(handle_mw_command) } -static COMMAND_HELPER(parse_load_image_command_args, image_t *image, +static COMMAND_HELPER(parse_load_image_command_args, struct image *image, uint32_t *min_address, uint32_t *max_address) { if (argc < 1 || argc > 5) @@ -2408,7 +2408,7 @@ COMMAND_HANDLER(handle_load_image_command) uint32_t min_address = 0; uint32_t max_address = 0xffffffff; int i; - image_t image; + struct image image; int retval = CALL_COMMAND_HANDLER(parse_load_image_command_args, &image, &min_address, &max_address); @@ -2564,7 +2564,7 @@ static COMMAND_HELPER(handle_verify_image_command_internal, int verify) uint32_t checksum = 0; uint32_t mem_checksum = 0; - image_t image; + struct image image; target_t *target = get_current_target(cmd_ctx); @@ -4545,7 +4545,7 @@ COMMAND_HANDLER(handle_fast_load_image_command) uint32_t max_address = 0xffffffff; int i; - image_t image; + struct image image; int retval = CALL_COMMAND_HANDLER(parse_load_image_command_args, &image, &min_address, &max_address); |