summaryrefslogtreecommitdiff
path: root/src/target/xscale.c
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 03:19:35 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:04 -0800
commit42ef503d37b18d907da16d26e99167566d5aabd1 (patch)
tree9349f3f4e101d334db57ec0f85fb88c93d187ca9 /src/target/xscale.c
parent9f212b01be20da43ba534ad33b20419779c89335 (diff)
downloadopenocd_libswd-42ef503d37b18d907da16d26e99167566d5aabd1.tar.gz
openocd_libswd-42ef503d37b18d907da16d26e99167566d5aabd1.tar.bz2
openocd_libswd-42ef503d37b18d907da16d26e99167566d5aabd1.tar.xz
openocd_libswd-42ef503d37b18d907da16d26e99167566d5aabd1.zip
jtag_tap_t -> struct jtag_tap
Search and destroy the jtag_tap_t typedef. This also cleans up a layering violation, removing the declaration from types.h.
Diffstat (limited to 'src/target/xscale.c')
-rw-r--r--src/target/xscale.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/xscale.c b/src/target/xscale.c
index 88914b52..c4d22b1d 100644
--- a/src/target/xscale.c
+++ b/src/target/xscale.c
@@ -156,7 +156,7 @@ static int xscale_verify_pointer(struct command_context_s *cmd_ctx,
return ERROR_OK;
}
-static int xscale_jtag_set_instr(jtag_tap_t *tap, uint32_t new_instr)
+static int xscale_jtag_set_instr(struct jtag_tap *tap, uint32_t new_instr)
{
if (tap == NULL)
return ERROR_FAIL;
@@ -2868,7 +2868,7 @@ static int xscale_init_target(struct command_context_s *cmd_ctx,
}
static int xscale_init_arch_info(target_t *target,
- xscale_common_t *xscale, jtag_tap_t *tap, const char *variant)
+ xscale_common_t *xscale, struct jtag_tap *tap, const char *variant)
{
armv4_5_common_t *armv4_5;
uint32_t high_reset_branch, low_reset_branch;