arm: mach-k3: am625: Provide a way to obtain boot device for non SPLs
authorWadim Egorov <w.egorov@phytec.de>
Wed, 3 Apr 2024 13:59:10 +0000 (15:59 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 12 Apr 2024 02:45:29 +0000 (20:45 -0600)
commit2f9095e2bf597d38661cd139c94557f460342a6b
treeb7d90936859290266a9a9ff8547981740ab0103c
parentd1cba4a450b918d9a0f218acffb04f91b07831e9
arm: mach-k3: am625: Provide a way to obtain boot device for non SPLs

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: Wadim Egorov <w.egorov@phytec.de>
arch/arm/mach-k3/Makefile
arch/arm/mach-k3/am625_init.c
arch/arm/mach-k3/am62x/Makefile [new file with mode: 0644]
arch/arm/mach-k3/am62x/boot.c [new file with mode: 0644]
arch/arm/mach-k3/include/mach/hardware.h