aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-k3/am62ax/am62a7_fdt.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-k3/am62ax/am62a7_fdt.c')
-rw-r--r--arch/arm/mach-k3/am62ax/am62a7_fdt.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/mach-k3/am62ax/am62a7_fdt.c b/arch/arm/mach-k3/am62ax/am62a7_fdt.c
new file mode 100644
index 00000000000..7f764ab36b5
--- /dev/null
+++ b/arch/arm/mach-k3/am62ax/am62a7_fdt.c
@@ -0,0 +1,17 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/*
+ * Copyright (C) 2024 Texas Instruments Incorporated - https://www.ti.com/
+ */
+
+#include <asm/hardware.h>
+#include <fdt_support.h>
+
+#include "../common_fdt.h"
+
+int ft_system_setup(void *blob, struct bd_info *bd)
+{
+ fdt_fixup_reserved(blob, "tfa", CONFIG_K3_ATF_LOAD_ADDR, 0x80000);
+ fdt_fixup_reserved(blob, "optee", CONFIG_K3_OPTEE_LOAD_ADDR, 0x1800000);
+
+ return 0;
+}