diff options
Diffstat (limited to 'src/ecosboard.c')
-rw-r--r-- | src/ecosboard.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ecosboard.c b/src/ecosboard.c index 1e3152e7..f6e040fa 100644 --- a/src/ecosboard.c +++ b/src/ecosboard.c @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2007-2009 by Øyvind Harboe * + * Copyright (C) 2007-2010 by Øyvind Harboe * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -24,6 +24,7 @@ #include <helper/types.h> #include <jtag/jtag.h> #include <helper/ioutil.h> +#include <helper/util.h> #include <helper/configuration.h> #include <server/server.h> @@ -1089,6 +1090,9 @@ int main(int argc, char *argv[]) command_set_output_handler(cmd_ctx, configuration_output_handler, NULL); command_context_mode(cmd_ctx, COMMAND_CONFIG); + if (util_init(cmd_ctx) != ERROR_OK) + return EXIT_FAILURE; + if (ioutil_init(cmd_ctx) != ERROR_OK) return EXIT_FAILURE; |