]> git.sur5r.net Git - openocd/commitdiff
zy1000: keep up with startup refactoring work.
authorØyvind Harboe <oyvind.harboe@zylin.com>
Wed, 2 Dec 2009 11:45:12 +0000 (12:45 +0100)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Wed, 2 Dec 2009 11:45:12 +0000 (12:45 +0100)
keep up with server_init() introduction.

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
src/ecosboard.c

index 36e807ef79e417f4d743c861d3760550b2dc7a8e..dcd497ce9e943516e825cd6e227a87900ab2638d 100644 (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");