[PATCH] rockchip: spl-boot-order: Defer probe of boot device

Quentin Schulz quentin.schulz at cherry.de
Tue Jul 15 11:07:16 CEST 2025


Hi Jonas,

On 7/12/25 11:12 PM, Jonas Karlman wrote:
> Boot devices are being probed when SPL boot order is determined. This
> may delay boot slightly and can prevent booting from SPI Flash on boards
> that use same pins for SPI Flash and eMMC due to pinctrl being applied
> prior to booting.
> 

How would that be possible? One cannot have the same pins used for SPI 
flash and eMMC at the same time? So that would be an issue in the DT or 
a misconfigured DT for the board?

On paper otherwise, it makes sense to me not to probe the device until 
it's used.

Is it guaranteed the devices are actually probed before being used from 
the SPL loader code? (common/spl/*) I guess if it's not it would be an 
issue in the SPL loader code making assumptions it shouldn't.

Cheers,
Quentin


More information about the U-Boot mailing list