mirror of
https://xff.cz/git/u-boot/
synced 2025-09-02 17:22:22 +02:00
Stop using builtin_run_command()
Boards can select either the 'built-in' parser or the hush parser. We should not call builtin_run_command() if we are using the hush parser. We use run_command() instead, since it knows how to call the correct parser. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
committed by
Wolfgang Denk
parent
009dde1955
commit
5307153236
@@ -179,7 +179,7 @@ source (ulong addr, const char *fit_uname)
|
||||
if (*line) {
|
||||
debug ("** exec: \"%s\"\n",
|
||||
line);
|
||||
if (builtin_run_command(line, 0) < 0) {
|
||||
if (run_command(line, 0) < 0) {
|
||||
rcode = 1;
|
||||
break;
|
||||
}
|
||||
@@ -189,7 +189,7 @@ source (ulong addr, const char *fit_uname)
|
||||
++next;
|
||||
}
|
||||
if (rcode == 0 && *line)
|
||||
rcode = (builtin_run_command(line, 0) >= 0);
|
||||
rcode = (run_command(line, 0) >= 0);
|
||||
}
|
||||
#endif
|
||||
free (cmd);
|
||||
|
Reference in New Issue
Block a user