diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2010-03-14 13:13:39 -0700 |
---|---|---|
committer | David Brownell <dbrownell@users.sourceforge.net> | 2010-03-14 13:13:39 -0700 |
commit | c25fda2c95f130d758c7784277fe5f2693ff3dd4 (patch) | |
tree | 1a69d29e168659cb21291e33fa1519a7058ef417 /src/jtag/jtag.h | |
parent | c23d4596d2239bdbba080499de837f53e0c89e59 (diff) |
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>
Diffstat (limited to 'src/jtag/jtag.h')
-rw-r--r-- | src/jtag/jtag.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/jtag/jtag.h b/src/jtag/jtag.h index ae859618..0bbea5f5 100644 --- a/src/jtag/jtag.h +++ b/src/jtag/jtag.h @@ -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, |