zy1000: keep up with startup refactoring work.

keep up with server_init() introduction.

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
This commit is contained in:
Øyvind Harboe 2009-12-02 12:45:12 +01:00
parent f4b52e1ceb
commit d84fead487
1 changed files with 5 additions and 0 deletions

View File

@ -1113,6 +1113,11 @@ int main(int argc, char *argv[])
command_run_linef(cmd_ctx, "script /rom/openocd.cfg");
int ret;
ret = server_init(cmd_ctx);
if (ERROR_OK != ret)
return EXIT_FAILURE;
/* we MUST always run the init command as it will launch telnet sessions */
command_run_line(cmd_ctx, "init");