
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@phytec.com Reviewed-by: Bryan Brattlof bb@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