projects
/
fw
/
openocd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43a9282
)
mips_m4k: -Wshadow warning fixes
author
Øyvind Harboe
<oyvind.harboe@zylin.com>
Tue, 15 Jun 2010 21:25:32 +0000
(23:25 +0200)
committer
Øyvind Harboe
<oyvind.harboe@zylin.com>
Tue, 15 Jun 2010 21:25:32 +0000
(23:25 +0200)
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
src/target/mips_m4k.c
patch
|
blob
|
history
diff --git
a/src/target/mips_m4k.c
b/src/target/mips_m4k.c
index 5604b6a55b4360061ecf59d031a0b90ae09beceb..e258b714e44dfbd0b4ac9db5d26867a09d941e76 100644
(file)
--- 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)
{