diff options
Diffstat (limited to 'common/cmd_bootm.c')
| -rw-r--r-- | common/cmd_bootm.c | 8 | 
1 files changed, 1 insertions, 7 deletions
| diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c index 2e3e1593c..6bfef6292 100644 --- a/common/cmd_bootm.c +++ b/common/cmd_bootm.c @@ -1045,14 +1045,8 @@ int do_bootd(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])  {  	int rcode = 0; -#ifndef CONFIG_SYS_HUSH_PARSER -	if (builtin_run_command(getenv("bootcmd"), flag) < 0) +	if (run_command(getenv("bootcmd"), flag) < 0)  		rcode = 1; -#else -	if (parse_string_outer(getenv("bootcmd"), -			FLAG_PARSE_SEMICOLON | FLAG_EXIT_FROM_LOOP) != 0) -		rcode = 1; -#endif  	return rcode;  } |