u-boot/boot
Simon Glass c627cfc14c bootstd: Allow scanning for global bootmeths separately
Typically we want to find and use global bootmeths first, since they have
the best idea of how the system should boot. We then use normal bootmeths
as a fallback.

Add the logic for this, putting global bootmeths at the end of the
ordering. We can then easily scan the global bootmeths first, then drop
them from the list for subsequent bootdev-centric scans.

This changes the ordering of global bootmeths, so update the
bootflow_system() accordingly.

Drop the comment from bootmeth_setup_iter_order() since this is an
exported function and it should be in the header file.

Signed-off-by: Simon Glass <sjg@chromium.org>
2022-08-12 08:17:11 -04:00
..
android_ab.c doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
boot_fit.c Create a new boot/ directory 2021-11-11 19:01:56 -05:00
bootdev-uclass.c bootstd: Allow the bootdev to be optional in bootflows 2022-08-12 08:17:11 -04:00
bootflow.c bootstd: Allow scanning for global bootmeths separately 2022-08-12 08:17:11 -04:00
bootm.c Convert CONFIG_SYS_BOOTM_LEN to Kconfig 2022-07-07 14:01:09 -04:00
bootm_os.c bootm: Tidy up use of autostart env var 2021-11-16 14:35:09 -05:00
bootmeth-uclass.c bootstd: Allow scanning for global bootmeths separately 2022-08-12 08:17:11 -04:00
bootmeth_distro.c bootstd: Provide a bootmeth method to obtain state info 2022-08-12 08:14:24 -04:00
bootmeth_efi.c bootstd: Add an implementation of EFI boot 2022-04-25 10:00:04 -04:00
bootmeth_efi_mgr.c bootstd: Allow EFI bootmgr to support an invalid bootflow 2022-08-12 08:17:10 -04:00
bootmeth_pxe.c bootstd: Add an implementation of distro PXE boot 2022-04-25 10:00:04 -04:00
bootmeth_sandbox.c bootstd: Add a sandbox bootmeth driver 2022-04-25 10:00:04 -04:00
bootmeth_script.c bootstd: Add an implementation of script boot 2022-04-25 10:00:04 -04:00
bootretry.c Convert CONFIG_BOOT_RETRY_TIME et al to Kconfig 2022-03-18 12:48:17 -04:00
bootstd-uclass.c bootstd: Add a system bootdev for strange boot methods 2022-04-25 10:00:04 -04:00
common_fit.c Create a new boot/ directory 2021-11-11 19:01:56 -05:00
fdt_region.c doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
image-android-dt.c doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
image-android.c Create a new boot/ directory 2021-11-11 19:01:56 -05:00
image-board.c common: Drop display_options.h from common header 2022-08-10 13:46:55 -04:00
image-cipher.c Create a new boot/ directory 2021-11-11 19:01:56 -05:00
image-fdt.c image: fdt: Fix DT relocation handling with multiple DRAM banks with gap 2022-04-20 11:14:39 -04:00
image-fit-sig.c tools: Pass the key blob around 2022-01-26 08:50:44 -07:00
image-fit.c image: fit: Use stack allocation macro 2022-07-01 16:01:25 -04:00
image-host.c Create a new boot/ directory 2021-11-11 19:01:56 -05:00
image-pre-load.c boot: image-pre-load: drop unused CONFIG_SYS_BOOTM_LEN 2022-06-06 17:47:16 -04:00
image-sig.c Create a new boot/ directory 2021-11-11 19:01:56 -05:00
image.c common: Drop display_options.h from common header 2022-08-10 13:46:55 -04:00
Kconfig bootstd: Allow bootmeths to be marked as global 2022-08-12 08:17:10 -04:00
Makefile boot: allow bootmeth-distro without CONFIG_NET 2022-08-10 13:42:56 -06:00
pxe_utils.c boot: allow bootmeth-distro without CONFIG_NET 2022-08-10 13:42:56 -06:00
system_bootdev.c bootstd: Add a system bootdev for strange boot methods 2022-04-25 10:00:04 -04:00