aboutsummaryrefslogtreecommitdiff
path: root/src/target/mips_ejtag.h
diff options
context:
space:
mode:
authorSalvador Arroyo <sarroyofdez@yahoo.es>2017-02-20 23:48:40 +0100
committerFreddie Chopin <freddie.chopin@gmail.com>2017-04-25 16:58:00 +0100
commit7ccd53bdde3f3a2fbd957f8b75f38125468c199f (patch)
tree4213e9030fe0cbcfd9337548999b347a49f3515c /src/target/mips_ejtag.h
parent3421b89c9809cbb39cd4bb030687a5c9fd65ded6 (diff)
mips32, homogenize code in the scan functions
Change-Id: I32fed3332857737048dd12da94fcaba140acb726 Signed-off-by: Salvador Arroyo <sarroyofdez@yahoo.es> Reviewed-on: http://openocd.zylin.com/4006 Tested-by: jenkins Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
Diffstat (limited to 'src/target/mips_ejtag.h')
-rw-r--r--src/target/mips_ejtag.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/target/mips_ejtag.h b/src/target/mips_ejtag.h
index 2178afc6..3043df90 100644
--- a/src/target/mips_ejtag.h
+++ b/src/target/mips_ejtag.h
@@ -210,8 +210,7 @@ struct mips_ejtag {
uint32_t ejtag_dba_step_size; /* size of step till next *DBAn register. */
};
-void mips_ejtag_set_instr(struct mips_ejtag *ejtag_info,
- int new_instr);
+void mips_ejtag_set_instr(struct mips_ejtag *ejtag_info, uint32_t new_instr);
int mips_ejtag_enter_debug(struct mips_ejtag *ejtag_info);
int mips_ejtag_exit_debug(struct mips_ejtag *ejtag_info);
int mips_ejtag_get_idcode(struct mips_ejtag *ejtag_info, uint32_t *idcode);