From c25fda2c95f130d758c7784277fe5f2693ff3dd4 Mon Sep 17 00:00:00 2001 From: David Brownell Date: Sun, 14 Mar 2010 13:13:39 -0700 Subject: rename jtag_interface_{init,quit}() These routines apply to non-JTAG debug adapters too. To reduce confusion, give them better (non-misleading) names. Signed-off-by: David Brownell --- src/jtag/tcl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/jtag/tcl.c') diff --git a/src/jtag/tcl.c b/src/jtag/tcl.c index 3ffa930d..ce17e4b8 100644 --- a/src/jtag/tcl.c +++ b/src/jtag/tcl.c @@ -1430,7 +1430,7 @@ COMMAND_HANDLER(handle_jtag_reset_command) else return ERROR_COMMAND_SYNTAX_ERROR; - if (jtag_interface_init(CMD_CTX) != ERROR_OK) + if (adapter_init(CMD_CTX) != ERROR_OK) return ERROR_JTAG_INIT_FAILED; jtag_add_reset(trst, srst); -- cgit v1.2.3