From 4b19617f330a1ea4d8e2fe3fc00809f8244b465e Mon Sep 17 00:00:00 2001
From: oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Date: Fri, 18 Apr 2008 06:29:30 +0000
Subject: [PATCH] Nicolas Pitre fixed regression.

git-svn-id: svn://svn.berlios.de/openocd/trunk@590 b42882b7-edfa-0310-969c-e2dbd0fdcd60
---
 src/target/feroceon.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/target/feroceon.c b/src/target/feroceon.c
index 73c25be74..dc2162920 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;
 	
-- 
GitLab