Skip to content
Commit b981569f authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

bootstd: Detect empty bootmeth ordering



If the ordering produces no entries, this is an error. Report it, so that
the caller doesn't try to continue with a NULL bootmeth.

This fixes a crash in the bootflow_iter test when running with the sandbox
'default' device tree, instead of the required 'test' one.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 6d8548d4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment