]> git.dujemihanovic.xyz Git - u-boot.git/commit
Add run_command_list() to run a list of commands
authorSimon Glass <sjg@chromium.org>
Fri, 30 Mar 2012 21:30:55 +0000 (21:30 +0000)
committerWolfgang Denk <wd@denx.de>
Thu, 9 Aug 2012 20:06:03 +0000 (22:06 +0200)
commitd51004a832a9784f4c6af5482d4dace6bfd938c4
tree0817bdb51d21cd55b64e8eecdc5de7fd06e1a058
parent213adf6dffe44d909db0efc5ecbdc047bb029438
Add run_command_list() to run a list of commands

This new function runs a list of commands separated by semicolon or newline.
We move this out of cmd_source so that it can be used by other code. The
PXE code also uses the new function.

Suggested-by: Michael Walle <michael@walle.cc>
Signed-off-by: Simon Glass <sjg@chromium.org>
common/cmd_pxe.c
common/cmd_source.c
common/main.c
include/common.h