aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Davis <afd@ti.com>2024-02-01 18:24:48 -0600
committerTom Rini <trini@konsulko.com>2024-03-04 13:41:04 -0500
commitf7a1e8e4e794a9b6a4d10957270876de2f8e2300 (patch)
tree481ddbae69ed85e0d69abb1b60a30b462e1309e3
parent3e38688ec6fd365c98a5a21fedc91631f90fc837 (diff)
downloadu-boot-f7a1e8e4e794a9b6a4d10957270876de2f8e2300.zip
u-boot-f7a1e8e4e794a9b6a4d10957270876de2f8e2300.tar.gz
u-boot-f7a1e8e4e794a9b6a4d10957270876de2f8e2300.tar.bz2
arm: mach-k3: Move ARM64 specific code into new arm64 directory
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>
-rw-r--r--arch/arm/mach-k3/Makefile3
-rw-r--r--arch/arm/mach-k3/arm64/Makefile6
-rw-r--r--arch/arm/mach-k3/arm64/arm64-mmu.c (renamed from arch/arm/mach-k3/arm64-mmu.c)0
-rw-r--r--arch/arm/mach-k3/arm64/cache.S (renamed from arch/arm/mach-k3/cache.S)0
4 files changed, 7 insertions, 2 deletions
diff --git a/arch/arm/mach-k3/Makefile b/arch/arm/mach-k3/Makefile
index 945698e..19b2d79 100644
--- a/arch/arm/mach-k3/Makefile
+++ b/arch/arm/mach-k3/Makefile
@@ -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
index 0000000..f3d322e
--- /dev/null
+++ b/arch/arm/mach-k3/arm64/Makefile
@@ -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
diff --git a/arch/arm/mach-k3/arm64-mmu.c b/arch/arm/mach-k3/arm64/arm64-mmu.c
index 0e07b1b..0e07b1b 100644
--- a/arch/arm/mach-k3/arm64-mmu.c
+++ b/arch/arm/mach-k3/arm64/arm64-mmu.c
diff --git a/arch/arm/mach-k3/cache.S b/arch/arm/mach-k3/arm64/cache.S
index 17cfb12..17cfb12 100644
--- a/arch/arm/mach-k3/cache.S
+++ b/arch/arm/mach-k3/arm64/cache.S