u-boot/boot
Simon Glass e824d0d0c2 bootstd: Scan all bootdevs in a boot_targets entry
When the boot_targets environment variable is used with the distro-boot
scripts, each device is included individually. For example, if there
are three mmc devices, then we will have something like:

   boot_targets="mmc0 mmc1 mmc2"

In contrast, standard boot supports specifying just the uclass, i.e.:

   boot_targets="mmc"

The intention is that this should scan all MMC devices, but in fact it
currently only scans the first.

Update the logic to handle this case, without required BOOTSTD_FULL to
be enabled.

I believe at least three people reported this, but I found two.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reported-by: Date Huang <tjjh89017@hotmail.com>
Reported-by: Vincent Stehlé <vincent.stehle@arm.com>
2023-10-13 10:15:41 -07:00
..
android_ab.c crc32: Drop duplicates crc header includes 2023-08-08 17:41:52 -04:00
boot_fit.c global: Use proper project name U-Boot 2023-06-12 13:24:31 +02:00
bootdev-uclass.c bootstd: Scan all bootdevs in a boot_targets entry 2023-10-13 10:15:41 -07:00
bootflow.c bootstd: Scan all bootdevs in a boot_targets entry 2023-10-13 10:15:41 -07:00
bootflow_internal.h bootstd: Support creating a boot menu 2023-01-16 18:26:50 -05:00
bootflow_menu.c expo: Rename exp_set_text_mode() 2023-07-14 12:54:51 -04:00
bootm.c command: Include a required header in command.h 2023-10-06 14:38:13 -04:00
bootm_os.c boot: Remove unused NEEDS_MANUAL_RELOC code bits 2023-09-14 10:42:24 -04:00
bootmeth-uclass.c bootstd: Add a command to read all files for a bootflow 2023-08-11 07:33:38 -06:00
bootmeth_cros.c bootstd: cros: Allow detection of any kernel partition 2023-08-26 10:07:32 -04:00
bootmeth_cros.h bootstd: cros: Bring in some ChromiumOS structures 2023-08-10 18:34:54 -06:00
bootmeth_efi.c bootmeth: efi: Make distro_efi_boot() static 2023-08-15 18:21:17 +02:00
bootmeth_efi_mgr.c bootstd: Rename bootdev checkers 2023-01-23 18:11:40 -05:00
bootmeth_extlinux.c bootstd: Adjust the default bootmeth order 2023-08-28 15:59:22 -04:00
bootmeth_pxe.c bootstd: Init the size before reading extlinux file 2023-08-03 15:30:54 -04:00
bootmeth_qfw.c bootstd: Correct the name of the QEMU bootmeth 2023-07-16 23:13:17 +08:00
bootmeth_sandbox.c bootstd: Rename distro and syslinux to extlinux 2023-05-13 09:52:32 -04:00
bootmeth_script.c bootstd: use ARCH_DMA_MINALIGN in memalign() when allocating memory 2023-10-09 15:24:31 -04:00
bootretry.c cyclic: Use schedule() instead of WATCHDOG_RESET() 2022-09-18 10:26:33 +02:00
bootstd-uclass.c bootstd: Remove special-case code for boot_targets 2023-01-23 18:11:39 -05:00
cedit.c expo: Plumb in textline to cedit 2023-10-11 15:43:55 -04:00
common_fit.c
expo.c expo: Provide a way to iterate through all scene objects 2023-08-25 13:54:33 -04:00
expo_build.c expo: Support building an expo with a textline 2023-10-11 15:43:55 -04:00
fdt_region.c
fdt_simplefb.c Move fdt_simplefb to boot/ 2023-09-19 11:36:25 -04:00
fdt_support.c boot: Move fdt_support to boot/ 2023-09-19 11:36:25 -04:00
image-android-dt.c
image-android.c android: boot: support bootconfig 2023-04-04 14:50:47 -04:00
image-board.c boot/image-board.c: Silence warning in select_ramdisk 2023-04-25 15:31:27 -04:00
image-cipher.c
image-fdt.c android: boot: support boot image header version 3 and 4 2023-04-04 14:50:47 -04:00
image-fit-sig.c mkimage: fit: Fix signing of configs with external data 2022-10-26 11:36:06 -04:00
image-fit.c image: Allow loading a FIT image for a particular phase 2022-10-31 11:02:45 -04:00
image-host.c
image-pre-load.c boot: image-pre-load: Check environment for location of signature info 2022-10-11 15:40:48 -04:00
image-sig.c boot: Remove unused NEEDS_MANUAL_RELOC code bits 2023-09-14 10:42:24 -04:00
image.c tools: mkimage: Add StarFive SPL image support 2023-09-20 21:05:14 +08:00
Kconfig boot: Join ARCH_FIXUP_FDT_MEMORY with related options 2023-09-19 11:36:26 -04:00
Makefile expo: Add basic support for textline objects 2023-10-11 15:43:55 -04:00
pxe_utils.c x86: pxeboot: bugfix: Set variable for size of initrd 2023-09-22 06:03:46 +08:00
scene.c expo: Plumb in textlines to a scene 2023-10-11 15:43:55 -04:00
scene_internal.h expo: Plumb in textlines to a scene 2023-10-11 15:43:55 -04:00
scene_menu.c expo: Allow rendering the background of any object 2023-10-11 15:43:55 -04:00
scene_textline.c expo: Support opening a textline 2023-10-11 15:43:55 -04:00
vbe.c boot: fix vbe_find_first_device() 2022-08-26 16:32:59 -06:00
vbe_request.c dm: core: Reverse the argument order in ofnode_copy_props() 2023-10-06 14:38:12 -04:00
vbe_simple.c boot: vbe_simple: Fix vbe_simple_read_bootflow() dependency 2023-04-28 11:30:17 -06:00
vbe_simple.h vbe: Move OS implementation into a separate file 2022-10-31 11:03:36 -04:00
vbe_simple_fw.c bootstd: Treat DHCP and PXE as bootdev labels 2023-01-23 18:11:41 -05:00
vbe_simple_os.c dm: core: Reverse the argument order in ofnode_copy_props() 2023-10-06 14:38:12 -04:00