summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-04-18 06:29:30 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-04-18 06:29:30 +0000
commit4b19617f330a1ea4d8e2fe3fc00809f8244b465e (patch)
treee1dac57325a97cef16a868a16d0835e30a037f54
parentdd5bc1f89399894ea31f61c2cd28f6390e1b7e50 (diff)
downloadopenocd+libswd-4b19617f330a1ea4d8e2fe3fc00809f8244b465e.tar.gz
openocd+libswd-4b19617f330a1ea4d8e2fe3fc00809f8244b465e.tar.bz2
openocd+libswd-4b19617f330a1ea4d8e2fe3fc00809f8244b465e.tar.xz
openocd+libswd-4b19617f330a1ea4d8e2fe3fc00809f8244b465e.zip
Nicolas Pitre fixed regression.
git-svn-id: svn://svn.berlios.de/openocd/trunk@590 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-rw-r--r--src/target/feroceon.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/target/feroceon.c b/src/target/feroceon.c
index 73c25be7..dc216292 100644
--- a/src/target/feroceon.c
+++ b/src/target/feroceon.c
@@ -639,15 +639,14 @@ int feroceon_target_command(struct command_context_s *cmd_ctx, char *cmd, char *
int feroceon_examine(struct command_context_s *cmd_ctx, struct target_s *target)
{
+ armv4_5_common_t *armv4_5;
+ arm7_9_common_t *arm7_9;
int retval;
- retval=feroceon_examine(cmd_ctx, target);
+ retval = arm9tdmi_examine(cmd_ctx, target);
if (retval!=ERROR_OK)
return retval;
- armv4_5_common_t *armv4_5;
- arm7_9_common_t *arm7_9;
-
armv4_5 = target->arch_info;
arm7_9 = armv4_5->arch_info;