summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9e02a6b)
raw | patch | inline | side by side (parent: 9e02a6b)
author | Simon Glass <sjg@chromium.org> | |
Fri, 30 Mar 2012 21:30:57 +0000 (21:30 +0000) | ||
committer | Wolfgang Denk <wd@denx.de> | |
Mon, 23 Apr 2012 20:53:54 +0000 (22:53 +0200) |
Now that run_command() handles both parsers, clean up sandbox to use it.
This fixes a build error.
Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Mike Frysinger <vapier@gentoo.org>
This fixes a build error.
Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Mike Frysinger <vapier@gentoo.org>
arch/sandbox/cpu/start.c | patch | blob | history |
index 6c3e8eb379ea8c5f456ba56f913173b91b7c5c42..7603bf90089adb3603b6e0b355cf915d7ef43080 100644 (file)
--- a/arch/sandbox/cpu/start.c
+++ b/arch/sandbox/cpu/start.c
/* 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);
}