forked from auracaster/openocd
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user