summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-04-11 15:56:57 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-04-11 15:56:57 +0000
commitfdd5582f7eb1c59c19aad5bf3af3363188acca28 (patch)
tree6647b43247758f431fc80437a11f5ee783903700
parentd300ecfc8ef59ba05f9787847e6daba31f4d6dac (diff)
downloadopenocd+libswd-fdd5582f7eb1c59c19aad5bf3af3363188acca28.tar.gz
openocd+libswd-fdd5582f7eb1c59c19aad5bf3af3363188acca28.tar.bz2
openocd+libswd-fdd5582f7eb1c59c19aad5bf3af3363188acca28.tar.xz
openocd+libswd-fdd5582f7eb1c59c19aad5bf3af3363188acca28.zip
found two more gaffes for reset wip
git-svn-id: svn://svn.berlios.de/openocd/trunk@568 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-rw-r--r--src/target/arm7tdmi.c2
-rw-r--r--src/target/arm9tdmi.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/target/arm7tdmi.c b/src/target/arm7tdmi.c
index 52a15bc6..f331bd2f 100644
--- a/src/target/arm7tdmi.c
+++ b/src/target/arm7tdmi.c
@@ -756,6 +756,8 @@ void arm7tdmi_build_reg_cache(target_t *target)
int arm7tdmi_examine(struct command_context_s *cmd_ctx, struct target_s *target)
{
+ target->type->examined = 1;
+
return ERROR_OK;
}
diff --git a/src/target/arm9tdmi.c b/src/target/arm9tdmi.c
index 2997ee2e..0df6a14b 100644
--- a/src/target/arm9tdmi.c
+++ b/src/target/arm9tdmi.c
@@ -862,6 +862,7 @@ void arm9tdmi_build_reg_cache(target_t *target)
int arm9tdmi_examine(struct command_context_s *cmd_ctx, struct target_s *target)
{
+ target->type->examined = 1;
return ERROR_OK;
}