Skip to contentSkip to conversation

arm: mach-k3: am642: Provide a way to obtain boot device for non SPLs

PATCH In review Wadim Egorov 2 participants 2 messages Apr 24, 2024 – May 10, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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.

---
 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
index 1bd523329a4..3101f57d324 100644
@@ -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
new file mode 100644
index 00000000000..acf09c3426c
@@ -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
#1 lore raw
Quoted 5 lines · Wadim Egorov

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.

Applied to u-boot/next, thanks!

Signature · 1 line
Tom