From c42619d1e65106f3828ea950d04e1e307422ab34 Mon Sep 17 00:00:00 2001 From: Rutger Hofman Date: Wed, 22 Apr 2009 09:24:31 +0000 Subject: [PATCH] Rename tap.c:idcode() by hand because this name is used in many different places, and it should only be renamed for this one git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1513 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- urjtag/include/jtag.h | 2 +- urjtag/src/cmd/idcode.c | 2 +- urjtag/src/tap/idcode.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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;