diff --git a/urjtag/include/jtag.h b/urjtag/include/jtag.h index be3048c7..23fc8e80 100644 --- a/urjtag/include/jtag.h +++ b/urjtag/include/jtag.h @@ -53,7 +53,7 @@ int detect_parts (chain_t *chain, const char *db_path); int manual_add (chain_t *chain, int instr_len); int detect_register_size (chain_t *chain); void discovery (chain_t *chain); -void idcode (chain_t *chain, unsigned int bytes); +void urj_tap_idcode (chain_t *chain, unsigned int bytes); void readmem (bus_t *bus, FILE *f, uint32_t addr, uint32_t len); void writemem (bus_t *bus, FILE *f, uint32_t addr, uint32_t len); diff --git a/urjtag/src/cmd/idcode.c b/urjtag/src/cmd/idcode.c index b9ee9710..9189b805 100644 --- a/urjtag/src/cmd/idcode.c +++ b/urjtag/src/cmd/idcode.c @@ -49,7 +49,7 @@ cmd_idcode_run (chain_t *chain, char *params[]) return 1; printf (_("Reading %d bytes if idcode\n"), bytes); - idcode (chain, bytes); + urj_tap_idcode (chain, bytes); return 1; } diff --git a/urjtag/src/tap/idcode.c b/urjtag/src/tap/idcode.c index 249512ec..363566db 100644 --- a/urjtag/src/tap/idcode.c +++ b/urjtag/src/tap/idcode.c @@ -33,7 +33,7 @@ #include "jtag.h" void -idcode (chain_t *chain, unsigned int bytes) +urj_tap_idcode (chain_t *chain, unsigned int bytes) { int i; int hit = 0;