u-boot/common/spl
Simon Glass 6995f2c8be common: Move autoprobe out to board init
Rather than doing autoprobe within the driver model code, move it out to
the board-init code. This makes it clear that it is a separate step from
binding devices.

For now this is always done twice, before and after relocation, but we
should discuss whether it might be possible to drop the post-relocation
probe.

For boards with SPL, the autoprobe is still done there as well.

Note that with this change, autoprobe happens after the
EVT_DM_POST_INIT_R/F events are sent, rather than before.

Link: https://lore.kernel.org/u-boot/20240626235717.272219-1-marex@denx.de/

Signed-off-by: Simon Glass <sjg@chromium.org>
2025-01-14 11:42:51 -06:00
..
Kconfig riscv: spl: add FIT name for RISC-V Falcon mode 2024-12-18 13:19:16 +08:00
Kconfig.nxp spl: Use CONFIG_SPL... instead of CONFIG_..._SPL_... 2023-10-06 14:38:11 -04:00
Kconfig.tpl spl: binman: Disable u_boot_any symbols for i.MX 8ULP boards 2024-08-13 08:28:24 -03:00
Kconfig.vpl Support setting a maximum size for the VPL image 2024-12-27 15:16:10 -06:00
Makefile global: Rename SPL_TPL_ to PHASE_ 2024-10-11 11:44:48 -06:00
spl.c common: Move autoprobe out to board init 2025-01-14 11:42:51 -06:00
spl_atf.c spl: Drop use of uintptr_t 2024-12-27 15:16:10 -06:00
spl_blk_fs.c spl: Create a function to init spl_load_info 2024-08-23 15:58:42 -06:00
spl_bootrom.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
spl_dfu.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
spl_ext.c spl: Create a function to init spl_load_info 2024-08-23 15:58:42 -06:00
spl_fat.c spl: Create a function to init spl_load_info 2024-08-23 15:58:42 -06:00
spl_fit.c spl: Add some more debugging to load_simple_fit() 2024-12-27 15:16:10 -06:00
spl_imx_container.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
spl_legacy.c spl: Drop use of uintptr_t 2024-12-27 15:16:10 -06:00
spl_mmc.c spl: mmc: Avoid size growth in spl_mmc_find_device() debug 2024-12-27 15:16:10 -06:00
spl_nand.c spl: Create a function to init spl_load_info 2024-08-23 15:58:42 -06:00
spl_net.c spl: Create a function to init spl_load_info 2024-08-23 15:58:42 -06:00
spl_nor.c spl: Create a function to init spl_load_info 2024-08-23 15:58:42 -06:00
spl_nvme.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
spl_onenand.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
spl_opensbi.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
spl_optee.S Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE 2022-10-31 11:01:31 -04:00
spl_ram.c spl: Create a function to init spl_load_info 2024-08-23 15:58:42 -06:00
spl_sata.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
spl_sdp.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
spl_semihosting.c spl: Create a function to init spl_load_info 2024-08-23 15:58:42 -06:00
spl_spi.c spl: Create a function to init spl_load_info 2024-08-23 15:58:42 -06:00
spl_ubi.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
spl_upl.c upl: Add support for Universal Payload in SPL 2024-08-09 16:03:20 -06:00
spl_usb.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
spl_xip.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
spl_ymodem.c spl: Create a function to init spl_load_info 2024-08-23 15:58:42 -06:00