2 # (C) Copyright 2000-2003
5 # Copyright (C) 2012 Altera Corporation <www.altera.com>
7 # SPDX-License-Identifier: GPL-2.0+
10 obj-y += misc.o timer.o reset_manager.o clock_manager.o \
11 fpga_manager.o board.o
13 obj-$(CONFIG_TARGET_SOCFPGA_ARRIA10) += clock_manager_arria10.o \
14 reset_manager_arria10.o
16 obj-$(CONFIG_SPL_BUILD) += spl.o freeze_controller.o
18 # QTS-generated config file wrappers
19 obj-$(CONFIG_TARGET_SOCFPGA_GEN5) += scan_manager.o wrap_pll_config.o \
20 clock_manager_gen5.o reset_manager_gen5.o \
21 misc_gen5.o system_manager_gen5.o
22 obj-$(CONFIG_SPL_BUILD) += wrap_iocsr_config.o wrap_pinmux_config.o \
24 CFLAGS_wrap_iocsr_config.o += -I$(srctree)/board/$(BOARDDIR)
25 CFLAGS_wrap_pinmux_config.o += -I$(srctree)/board/$(BOARDDIR)
26 CFLAGS_wrap_pll_config.o += -I$(srctree)/board/$(BOARDDIR)
27 CFLAGS_wrap_sdram_config.o += -I$(srctree)/board/$(BOARDDIR)