diff options
Diffstat (limited to 'src/openocd.c')
-rw-r--r-- | src/openocd.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/openocd.c b/src/openocd.c index 04a63074..69ed7601 100644 --- a/src/openocd.c +++ b/src/openocd.c @@ -33,6 +33,7 @@ #include <jtag/jtag.h> #include <jtag/transport.h> #include <helper/ioutil.h> +#include <helper/util.h> #include <helper/configuration.h> #include <flash/nor/core.h> #include <flash/nand/core.h> @@ -268,6 +269,9 @@ int openocd_main(int argc, char *argv[]) cmd_ctx = setup_command_handler(NULL); + if (util_init(cmd_ctx) != ERROR_OK) + return EXIT_FAILURE; + if (ioutil_init(cmd_ctx) != ERROR_OK) return EXIT_FAILURE; |