arm: mach-k3: am642: Provide a way to obtain boot device for non SPLs
Subsystems (2)
PATCH 1/1 arm: mach-k3: am642: Provide a way to obtain boot device for non SPLs
Let's provide get_boot_device() for AM64, similar to what we did in commit 2f9095e2bf59 ("arm: mach-k3: am625: Provide a way to obtain boot device for non SPLs") for AM62.
Signed-off-by Wadim Egorov <[email protected]>
--- arch/arm/mach-k3/Makefile | 1 + arch/arm/mach-k3/am642_init.c | 92 +--------------------------- arch/arm/mach-k3/am64x/Makefile | 2 + arch/arm/mach-k3/am64x/boot.c | 105 ++++++++++++++++++++++++++++++++ 4 files changed, 109 insertions(+), 91 deletions(-) create mode 100644 arch/arm/mach-k3/am64x/Makefile create mode 100644 arch/arm/mach-k3/am64x/boot.c
arch/arm/mach-k3/Makefile +1 -0
@@ -26,3 +26,4 @@ obj-$(CONFIG_SOC_K3_AM62P5) += am62p5_init.o endif obj-y += common.o security.o obj-$(CONFIG_SOC_K3_AM625) += am62x/ +obj-$(CONFIG_SOC_K3_AM642) += am64x/
arch/arm/mach-k3/am642_init.c +1 -91
98 lines not on this page · raw message
arch/arm/mach-k3/am64x/Makefile new file +2 -0
@@ -0,0 +1,2 @@ +# SPDX-License-Identifier: GPL-2.0+ +obj-y += boot.o
arch/arm/mach-k3/am64x/boot.c new file +105 -0
105 lines not on this page · raw message
Signature · 1 line
2.34.1
Quoted 5 lines · Wadim Egorov
Let's provide
get_boot_device()for AM64, similar to what we did in commit2f9095e2bf59("arm: mach-k3: am625: Provide a way to obtain boot device for non SPLs") for AM62.
Applied to u-boot/next, thanks!
Signature · 1 line
Tom