summaryrefslogtreecommitdiff
path: root/src/target/armv7a.c
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 08:40:31 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:09 -0800
commitf96d6054e65708e7abdceac673f1a18fec3204b6 (patch)
tree34ce626ed93a171a8309c0f3f993a2ae802ba2e7 /src/target/armv7a.c
parent6ba48a1b44d34e445af17ae66efb7e168f911a0f (diff)
downloadopenocd+libswd-f96d6054e65708e7abdceac673f1a18fec3204b6.tar.gz
openocd+libswd-f96d6054e65708e7abdceac673f1a18fec3204b6.tar.bz2
openocd+libswd-f96d6054e65708e7abdceac673f1a18fec3204b6.tar.xz
openocd+libswd-f96d6054e65708e7abdceac673f1a18fec3204b6.zip
swjdp_common_t -> struct swjdp_common
Remove misleading typedef and redundant suffix from struct swjdp_common.
Diffstat (limited to 'src/target/armv7a.c')
-rw-r--r--src/target/armv7a.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/target/armv7a.c b/src/target/armv7a.c
index eb5bfa9e..0bba549f 100644
--- a/src/target/armv7a.c
+++ b/src/target/armv7a.c
@@ -234,7 +234,7 @@ COMMAND_HANDLER(handle_dap_baseaddr_command)
{
target_t *target = get_current_target(cmd_ctx);
struct armv7a_common_s *armv7a = target_to_armv7a(target);
- swjdp_common_t *swjdp = &armv7a->swjdp_info;
+ struct swjdp_common *swjdp = &armv7a->swjdp_info;
return CALL_COMMAND_HANDLER(dap_baseaddr_command, swjdp);
}
@@ -243,7 +243,7 @@ COMMAND_HANDLER(handle_dap_memaccess_command)
{
target_t *target = get_current_target(cmd_ctx);
struct armv7a_common_s *armv7a = target_to_armv7a(target);
- swjdp_common_t *swjdp = &armv7a->swjdp_info;
+ struct swjdp_common *swjdp = &armv7a->swjdp_info;
return CALL_COMMAND_HANDLER(dap_memaccess_command, swjdp);
}
@@ -252,7 +252,7 @@ COMMAND_HANDLER(handle_dap_apsel_command)
{
target_t *target = get_current_target(cmd_ctx);
struct armv7a_common_s *armv7a = target_to_armv7a(target);
- swjdp_common_t *swjdp = &armv7a->swjdp_info;
+ struct swjdp_common *swjdp = &armv7a->swjdp_info;
return CALL_COMMAND_HANDLER(dap_apsel_command, swjdp);
}
@@ -261,7 +261,7 @@ COMMAND_HANDLER(handle_dap_apid_command)
{
target_t *target = get_current_target(cmd_ctx);
struct armv7a_common_s *armv7a = target_to_armv7a(target);
- swjdp_common_t *swjdp = &armv7a->swjdp_info;
+ struct swjdp_common *swjdp = &armv7a->swjdp_info;
return CALL_COMMAND_HANDLER(dap_apid_command, swjdp);
}
@@ -270,7 +270,7 @@ COMMAND_HANDLER(handle_dap_info_command)
{
target_t *target = get_current_target(cmd_ctx);
struct armv7a_common_s *armv7a = target_to_armv7a(target);
- swjdp_common_t *swjdp = &armv7a->swjdp_info;
+ struct swjdp_common *swjdp = &armv7a->swjdp_info;
uint32_t apsel;
switch (argc) {