Hi Tom,

On Fri, Nov 06, 2026 at 11:34:39AM -0600, Tom Rini wrote:

> Is it too late to ask you to pick up and make include/asm-generic/spl.h
> instead, and use that for at least RISC-V ? The history here is that we
> have a few cases, such as arch/arm/include/asm/arch-omap3/spl.h where
> the values matter as the values match up with some ROM. We also have
> lots of cases, and it sounds like RISC-V is entirely one, where U-Boot
> itself figures out it booted from $dev and so return BOOT_DEVICE_$dev.

Not too late at all, and thanks for the background. That makes sense to
me, and it looks like a better approach.

For v3 I'll add include/asm-generic/spl.h with the common list,
including BOOT_DEVICE_UFS and with BOOT_DEVICE_NONE kept last,
and use it for RISC-V.

>From my initial analysis, other architectures could benefit from the
common file as well, and those can be converted in follow-up patches.

Thanks,
Urvashi

Reply via email to