[PATCH v2] arm: mach-k3: am62a7: Provide a way to obtain boot device for non SPLs

Bryan Brattlof bb at ti.com
Fri Nov 1 18:36:33 CET 2024


On October 31, 2024 thus sayeth Andrew Davis:
> On 10/31/24 11:21 AM, Garrett Giordano wrote:
> > Introduce get_boot_device() to obtain the booting device. Make it also
> > available for non SPL builds so u-boot can also know the device it
> > is booting from.
> > 
> > Signed-off-by: Garrett Giordano <ggiordano at phytec.com>
> > Reviewed-by: Bryan Brattlof <bb at ti.com>
> > ---
> 
> Seems similar enough to what has been done already for AM64x, might
> be good at some point to just do this for all the K3 SoCs. I wonder how
> much of the contents of these functions are common across them all..
> 

I was thinking the same thing. This will be helpful for all of the SoCs. 
The boodmode functions are very common however we'll most likely need to 
expand it to handle modes a specific SoC doesn't support.

~Bryan



More information about the U-Boot mailing list