diff options
author | Simon Glass <sjg@chromium.org> | 2022-07-30 15:52:18 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-08-12 08:14:24 -0400 |
commit | 10d16faa436c9f06bbcdeb6da35871a1b329b6b0 (patch) | |
tree | 3cb088c84638d685026a97a6efa5a74c35be2bcb /test | |
parent | f1c8cbd944e097f2d03563316460baf926eeae39 (diff) | |
download | u-boot-10d16faa436c9f06bbcdeb6da35871a1b329b6b0.tar.gz u-boot-10d16faa436c9f06bbcdeb6da35871a1b329b6b0.tar.bz2 u-boot-10d16faa436c9f06bbcdeb6da35871a1b329b6b0.zip |
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: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions