commit | 5b47e30b6a3868ea95b97c9e0dd84bf93bf23bed | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Thu Apr 10 20:01:35 2014 -0600 |
committer | Tom Rini <trini@ti.com> | Thu May 29 17:52:03 2014 -0400 |
tree | 9ced673b20b48fb9a70253860e5cc6b7d9c79a29 | |
parent | 33f7913a6fd1a5cd8b3a35c78606d448504c3b57 [diff] |
main: Make the execution path a little clearer in main.c bootdelay_process() never returns in some circumstances, whichs makes the control flow confusing. Change it so that the decision about how to execute the boot command is made in the main_loop() code, so it is easier to follow. Move CLI stuff to cli.c. Signed-off-by: Simon Glass <sjg@chromium.org>