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

bootm: Require boot function only if it is about to be used


The original bootm code (before commit 35fc84fa) did not check for a valid
boot function in the subcommand case, which was incorrect.

This check was introduced in all cases, but in fact we should only check
for the function when we need it. Otherwise in some cases the check fires
before the OS type is known.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 385501d3
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