Wip - split target setup and target examination

git-svn-id: svn://svn.berlios.de/openocd/trunk@564 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
oharboe
2008-04-11 11:19:17 +00:00
parent 7805be1b3a
commit 0d7d64b5e9
10 changed files with 26 additions and 0 deletions

View File

@@ -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;