]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - arch/sandbox/cpu/start.c
Merge branch 'master' of git://git.denx.de/u-boot-arm
[karo-tx-uboot.git] / arch / sandbox / cpu / start.c
index b3d70515dc8da0f28ade44c218a45d0fd77dd0df..53a99ae71b1361131637b0827a8b2afb142273e7 100644 (file)
@@ -5,6 +5,7 @@
 
 #include <common.h>
 #include <os.h>
+#include <cli.h>
 #include <asm/getopt.h>
 #include <asm/io.h>
 #include <asm/sections.h>
@@ -76,6 +77,8 @@ int sandbox_main_loop_init(void)
 
        /* Execute command if required */
        if (state->cmd) {
+               cli_init();
+
                run_command_list(state->cmd, -1, 0);
                if (!state->interactive)
                        os_exit(state->exit_type);