Hi Johan, On 5/31/2026 11:04 PM, Johan Jonker wrote: > Add usb boot option to spl-boot-order.c > > Signed-off-by: Johan Jonker <[email protected]> > --- > arch/arm/mach-rockchip/spl-boot-order.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/arch/arm/mach-rockchip/spl-boot-order.c > b/arch/arm/mach-rockchip/spl-boot-order.c > index 6572dde29f65..cd17af13f41b 100644 > --- a/arch/arm/mach-rockchip/spl-boot-order.c > +++ b/arch/arm/mach-rockchip/spl-boot-order.c > @@ -76,6 +76,9 @@ static int spl_node_to_boot_device(int node) > if (!uclass_find_device_by_of_offset(UCLASS_SPI_FLASH, node, &parent)) > return BOOT_DEVICE_SPI; > > + if (!uclass_get_device_by_of_offset(UCLASS_USB, node, &parent))
Please use uclass_find_device_by_of_offset() like the other ones. There should be no need to probe the device here, with find() here the probe happen a little bit later when the boot device method is run. Regards, Jonas > + return BOOT_DEVICE_USB; > + > return -1; > } > > -- > 2.39.5 >

