summaryrefslogtreecommitdiff
path: root/src/target/target.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/target/target.c')
-rw-r--r--src/target/target.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/target/target.c b/src/target/target.c
index 5850fada..28639a76 100644
--- a/src/target/target.c
+++ b/src/target/target.c
@@ -436,6 +436,11 @@ static int default_examine(struct command_context_s *cmd_ctx, struct target_s *t
}
+/* Targets that correctly implement init+examine, i.e.
+ * no communication with target during init:
+ *
+ * XScale
+ */
int target_examine(struct command_context_s *cmd_ctx)
{
int retval = ERROR_OK;
@@ -448,6 +453,8 @@ int target_examine(struct command_context_s *cmd_ctx)
}
return retval;
}
+
+
int target_init(struct command_context_s *cmd_ctx)
{
target_t *target = targets;