projects
/
fw
/
openocd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26a77f7
)
mips_ejtag: -Wshadow warning fixes
author
Øyvind Harboe
<oyvind.harboe@zylin.com>
Tue, 15 Jun 2010 21:27:08 +0000
(23:27 +0200)
committer
Øyvind Harboe
<oyvind.harboe@zylin.com>
Tue, 15 Jun 2010 21:27:08 +0000
(23:27 +0200)
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
src/target/mips_ejtag.c
patch
|
blob
|
history
diff --git
a/src/target/mips_ejtag.c
b/src/target/mips_ejtag.c
index 84ad5294b0655ab65e80573bd1c313a0a89a74d4..33507b5534c61af84822b1228894c40f84cd8817 100644
(file)
--- a/
src/target/mips_ejtag.c
+++ b/
src/target/mips_ejtag.c
@@
-304,7
+304,7
@@
int mips_ejtag_init(struct mips_ejtag *ejtag_info)
return ERROR_OK;
}
-int mips_ejtag_fastdata_scan(struct mips_ejtag *ejtag_info, int write, uint32_t *data)
+int mips_ejtag_fastdata_scan(struct mips_ejtag *ejtag_info, int write
_t
, uint32_t *data)
{
struct jtag_tap *tap;
tap = ejtag_info->tap;
@@
-325,7
+325,7
@@
int mips_ejtag_fastdata_scan(struct mips_ejtag *ejtag_info, int write, uint32_t
fields[1].num_bits = 32;
fields[1].out_value = t;
- if (write)
+ if (write
_t
)
{
fields[1].in_value = NULL;
buf_set_u32(t, 0, 32, *data);