summaryrefslogtreecommitdiff
path: root/src/jtag/jtag.h
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-03-13 11:07:21 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-03-13 11:07:21 +0000
commit9bf081192f2a1ad8c3ef424c9564b0c1f733461d (patch)
tree902ab49d1b8779a0ee361a7d2dd94604df23d2d3 /src/jtag/jtag.h
parent7de7bc80fcca79e72c45040dc0ff3467e4b10dea (diff)
downloadopenocd+libswd-9bf081192f2a1ad8c3ef424c9564b0c1f733461d.tar.gz
openocd+libswd-9bf081192f2a1ad8c3ef424c9564b0c1f733461d.tar.bz2
openocd+libswd-9bf081192f2a1ad8c3ef424c9564b0c1f733461d.tar.xz
openocd+libswd-9bf081192f2a1ad8c3ef424c9564b0c1f733461d.zip
added jtag_khz for use with target library
git-svn-id: svn://svn.berlios.de/openocd/trunk@512 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/jtag/jtag.h')
-rw-r--r--src/jtag/jtag.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/jtag/jtag.h b/src/jtag/jtag.h
index 0e9a9302..16eb84dd 100644
--- a/src/jtag/jtag.h
+++ b/src/jtag/jtag.h
@@ -195,6 +195,8 @@ typedef struct jtag_interface_s
int (*register_commands)(struct command_context_s *cmd_ctx);
int (*init)(void);
int (*quit)(void);
+ /* returns JTAG speed for KHz. */
+ int (*khz)(int khz, int *jtag_speed);
} jtag_interface_t;