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 <dbrownell@users.sourceforge.net>
This commit is contained in:
David Brownell
2010-03-14 13:13:39 -07:00
parent c23d4596d2
commit c25fda2c95
4 changed files with 21 additions and 18 deletions

View File

@@ -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);