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

@@ -305,14 +305,11 @@ void jtag_set_verify_capture_ir(bool enable);
/// @returns True if IR scan verification will be performed.
bool jtag_will_verify_capture_ir(void);
/**
* Initialize interface upon startup. Return a successful no-op upon
* subsequent invocations.
*/
int jtag_interface_init(struct command_context* cmd_ctx);
/** Initialize debug adapter upon startup. */
int adapter_init(struct command_context* cmd_ctx);
/// Shutdown the JTAG interface upon program exit.
int jtag_interface_quit(void);
/// Shutdown the debug adapter upon program exit.
int adapter_quit(void);
/**
* Initialize JTAG chain using only a RESET reset. If init fails,