]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
arch: arm: dts: Update Makefile for new platform Agilex7 M-series
authorTingting Meng <tingting.meng@altera.com>
Mon, 4 Aug 2025 01:25:00 +0000 (18:25 -0700)
committerTien Fong Chee <tien.fong.chee@intel.com>
Fri, 8 Aug 2025 14:20:55 +0000 (22:20 +0800)
Update Makefile to support Agilex7 M-series platform enablement.

Signed-off-by: Tingting Meng <tingting.meng@altera.com>
Signed-off-by: Alif Zakuan Yuslaimi <alif.zakuan.yuslaimi@altera.com>
Reviewed-by: Tien Fong Chee <tien.fong.chee@altera.com>
arch/arm/mach-socfpga/Makefile
board/intel/agilex7m-socdk/Makefile [new file with mode: 0644]

index 7f53c249805e620c7a3bd8b5ae4038f3744eb7ad..4e85bfb00d45626436c09ec7be2923f1d0ec7d0a 100644 (file)
@@ -73,6 +73,22 @@ obj-$(CONFIG_SOCFPGA_SECURE_VAB_AUTH)        += secure_vab.o
 obj-$(CONFIG_SOCFPGA_SECURE_VAB_AUTH)  += vab.o
 endif
 
+ifdef CONFIG_TARGET_SOCFPGA_AGILEX7M
+obj-y  += clock_manager_agilex.o
+obj-y  += lowlevel_init_soc64.o
+obj-y  += mailbox_s10.o
+obj-y  += misc_soc64.o
+obj-y  += mmu-arm64_s10.o
+obj-y  += reset_manager_s10.o
+obj-$(CONFIG_SOCFPGA_SECURE_VAB_AUTH)  += secure_vab.o
+obj-y  += system_manager_soc64.o
+obj-y  += timer_s10.o
+obj-$(CONFIG_SOCFPGA_SECURE_VAB_AUTH)  += vab.o
+obj-y  += wrap_handoff_soc64.o
+obj-y  += wrap_pll_config_soc64.o
+obj-y  += altera-sysmgr.o
+endif
+
 ifdef CONFIG_TARGET_SOCFPGA_N5X
 obj-y  += clock_manager_n5x.o
 obj-y  += lowlevel_init_soc64.o
@@ -116,6 +132,9 @@ ifdef CONFIG_TARGET_SOCFPGA_AGILEX5
 obj-y  += spl_soc64.o
 obj-y  += spl_agilex5.o
 endif
+ifdef CONFIG_TARGET_SOCFPGA_AGILEX7M
+obj-y  += spl_agilex7m.o
+endif
 else
 obj-$(CONFIG_SPL_ATF) += secure_reg_helper.o
 obj-$(CONFIG_SPL_ATF) += smc_api.o
diff --git a/board/intel/agilex7m-socdk/Makefile b/board/intel/agilex7m-socdk/Makefile
new file mode 100644 (file)
index 0000000..306a8cf
--- /dev/null
@@ -0,0 +1,7 @@
+#
+# Copyright (C) 2025 Altera Corporation <www.altera.com>
+#
+# SPDX-License-Identifier:     GPL-2.0
+#
+
+obj-y  := socfpga.o