Skip to content
Snippets Groups Projects
Commit affb2156 authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

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's avatarSimon Glass <sjg@chromium.org>
parent c1bb2cd0
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment