]> git.sur5r.net Git - u-boot/blobdiff - arch/sandbox/cpu/start.c
Merge branch 'master' of git://www.denx.de/git/u-boot-mmc
[u-boot] / arch / sandbox / cpu / start.c
index 6c3e8eb379ea8c5f456ba56f913173b91b7c5c42..7603bf90089adb3603b6e0b355cf915d7ef43080 100644 (file)
@@ -90,13 +90,7 @@ int sandbox_main_loop_init(void)
 
        /* Execute command if required */
        if (state->cmd) {
-               /* TODO: redo this when cmd tidy-up series lands */
-#ifdef CONFIG_SYS_HUSH_PARSER
                run_command(state->cmd, 0);
-#else
-               parse_string_outer(state->cmd, FLAG_PARSE_SEMICOLON |
-                                   FLAG_EXIT_FROM_LOOP);
-#endif
                os_exit(state->exit_type);
        }