bootstd: Adjust the default bootmeth order
authorSimon Glass <sjg@chromium.org>
Sat, 19 Aug 2023 22:49:35 +0000 (16:49 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 28 Aug 2023 19:59:22 +0000 (15:59 -0400)
commit5986d46f8efb20532d494242fccb051267f92e1a
treef63b239fb16ae1f72580d96ae8304e40364d2ef3
parentd389efc44898f9b5b3d07e810253b6fb73c55e3c
bootstd: Adjust the default bootmeth order

The existing distro scripts check extlinux and scripts before EFI. Adjust
the default ordering to do the same, to avoid breaking existing flows.

Add some documentation, mentioning that this order will likely change in
future.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reported-by: Da Xue <da@libre.computer>
boot/bootmeth_extlinux.c
boot/bootmeth_script.c
doc/develop/bootstd.rst
test/boot/bootflow.c