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
@@ -260,7 +260,6 @@ int print_buffer (ulong addr, void* data, uint width, uint count, uint linelen);
|
||||
|
||||
/* common/main.c */
|
||||
void main_loop (void);
|
||||
int builtin_run_command(const char *cmd, int flag);
|
||||
int run_command(const char *cmd, int flag);
|
||||
int readline (const char *const prompt);
|
||||
int readline_into_buffer(const char *const prompt, char *buffer,
|
||||
|
||||
Reference in New Issue
Block a user