diff options
author | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-06-15 23:25:32 +0200 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-06-15 23:25:32 +0200 |
commit | e85fe0a637d1be9c652ac1779218c1297aaaafec (patch) | |
tree | 341a54d7e1f03afaff8b696c62b14e9a87dc022b /src/target | |
parent | 43a9282203d5fc0cf9086a18590c8ff89184b320 (diff) | |
download | openocd_libswd-e85fe0a637d1be9c652ac1779218c1297aaaafec.tar.gz openocd_libswd-e85fe0a637d1be9c652ac1779218c1297aaaafec.tar.bz2 openocd_libswd-e85fe0a637d1be9c652ac1779218c1297aaaafec.tar.xz openocd_libswd-e85fe0a637d1be9c652ac1779218c1297aaaafec.zip |
mips_m4k: -Wshadow warning fixes
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'src/target')
-rw-r--r-- | src/target/mips_m4k.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/mips_m4k.c b/src/target/mips_m4k.c index 5604b6a5..e258b714 100644 --- a/src/target/mips_m4k.c +++ b/src/target/mips_m4k.c @@ -951,7 +951,7 @@ int mips_m4k_bulk_write_memory(struct target *target, uint32_t address, struct mips_ejtag *ejtag_info = &mips32->ejtag_info; struct working_area *source; int retval; - int write = 1; + int write_t = 1; LOG_DEBUG("address: 0x%8.8" PRIx32 ", count: 0x%8.8" PRIx32 "", address, count); @@ -984,7 +984,7 @@ int mips_m4k_bulk_write_memory(struct target *target, uint32_t address, } } - retval = mips32_pracc_fastdata_xfer(ejtag_info, source, write, address, + retval = mips32_pracc_fastdata_xfer(ejtag_info, source, write_t, address, count, (uint32_t*) buffer); if (retval != ERROR_OK) { |