From 0d7d64b5e9a463f63deb19f00efa14e6e5b1c34e Mon Sep 17 00:00:00 2001 From: oharboe Date: Fri, 11 Apr 2008 11:19:17 +0000 Subject: Wip - split target setup and target examination git-svn-id: svn://svn.berlios.de/openocd/trunk@564 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/target/target.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/target/target.c') 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; -- cgit v1.2.3