]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - arch/arm/mach-socfpga/Makefile
arm: socfpga: Add misc support for Arria 10
[people/ms/u-boot.git] / arch / arm / mach-socfpga / Makefile
index 316b326d417e602b0fbde813bc4fb43932a3cc69..4ce8eaca6c2d832c4c078c0eb07f259e36d1c290 100644 (file)
@@ -7,12 +7,20 @@
 # SPDX-License-Identifier:     GPL-2.0+
 #
 
-obj-y  += misc.o timer.o reset_manager.o system_manager.o clock_manager.o \
-          fpga_manager.o scan_manager.o
+obj-y  += misc.o timer.o reset_manager.o clock_manager.o \
+          fpga_manager.o board.o
+
+obj-$(CONFIG_TARGET_SOCFPGA_ARRIA10) += clock_manager_arria10.o \
+                                       pinmux_arria10.o        \
+                                       misc_arria10.o          \
+                                       reset_manager_arria10.o
+
 obj-$(CONFIG_SPL_BUILD) += spl.o freeze_controller.o
 
 # QTS-generated config file wrappers
-obj-y  += wrap_pll_config.o
+obj-$(CONFIG_TARGET_SOCFPGA_GEN5)      += scan_manager.o wrap_pll_config.o \
+                                          clock_manager_gen5.o reset_manager_gen5.o \
+                                          misc_gen5.o system_manager_gen5.o
 obj-$(CONFIG_SPL_BUILD) += wrap_iocsr_config.o wrap_pinmux_config.o    \
                           wrap_sdram_config.o
 CFLAGS_wrap_iocsr_config.o     += -I$(srctree)/board/$(BOARDDIR)