]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: mach-k3: Move ARM64 specific code into new arm64 directory
authorAndrew Davis <afd@ti.com>
Fri, 2 Feb 2024 00:24:48 +0000 (18:24 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 4 Mar 2024 18:41:04 +0000 (13:41 -0500)
Like we did with R5, move ARM64 code into a specific directory to make
it clear what code is only meant to run on each core type.

Signed-off-by: Andrew Davis <afd@ti.com>
arch/arm/mach-k3/Makefile
arch/arm/mach-k3/arm64/Makefile [new file with mode: 0644]
arch/arm/mach-k3/arm64/arm64-mmu.c [moved from arch/arm/mach-k3/arm64-mmu.c with 100% similarity]
arch/arm/mach-k3/arm64/cache.S [moved from arch/arm/mach-k3/cache.S with 100% similarity]

index 945698e6e863c5887555bacbfb5775597f65a3c4..19b2d79e57d28d9d6840ea5b5a6580dd8428373e 100644 (file)
@@ -3,9 +3,8 @@
 # Copyright (C) 2017-2018 Texas Instruments Incorporated - https://www.ti.com/
 #      Lokesh Vutla <lokeshvutla@ti.com>
 
+obj-$(CONFIG_ARM64) += arm64/
 obj-$(CONFIG_CPU_V7R) += r5/
-obj-$(CONFIG_ARM64) += arm64-mmu.o
-obj-$(CONFIG_ARM64) += cache.o
 obj-$(CONFIG_OF_LIBFDT) += common_fdt.o
 ifeq ($(CONFIG_OF_LIBFDT)$(CONFIG_OF_SYSTEM_SETUP),yy)
 obj-$(CONFIG_SOC_K3_AM654) += am654_fdt.o
diff --git a/arch/arm/mach-k3/arm64/Makefile b/arch/arm/mach-k3/arm64/Makefile
new file mode 100644 (file)
index 0000000..f3d322e
--- /dev/null
@@ -0,0 +1,6 @@
+# SPDX-License-Identifier: GPL-2.0+
+#
+# Copyright (C) 2023 Texas Instruments Incorporated - https://www.ti.com/
+
+obj-y += arm64-mmu.o
+obj-y += cache.o