diff options
author | Øyvind Harboe <oyvind.harboe@zylin.com> | 2009-12-02 12:45:12 +0100 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2009-12-02 12:45:12 +0100 |
commit | d84fead487b120774e18c03664a0a361616429fc (patch) | |
tree | 721867068307cb55d7451e2441b8c721678ba787 | |
parent | f4b52e1ceb2818d7a388c7aa0a3a7ab9b78f68be (diff) | |
download | openocd_libswd-d84fead487b120774e18c03664a0a361616429fc.tar.gz openocd_libswd-d84fead487b120774e18c03664a0a361616429fc.tar.bz2 openocd_libswd-d84fead487b120774e18c03664a0a361616429fc.tar.xz openocd_libswd-d84fead487b120774e18c03664a0a361616429fc.zip |
zy1000: keep up with startup refactoring work.
keep up with server_init() introduction.
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
-rw-r--r-- | src/ecosboard.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ecosboard.c b/src/ecosboard.c index 36e807ef..dcd497ce 100644 --- a/src/ecosboard.c +++ b/src/ecosboard.c @@ -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"); |