2 # (C) Copyright 2000-2003
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
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 \
16 reset_manager_arria10.o
18 obj-$(CONFIG_SPL_BUILD) += spl.o freeze_controller.o
20 # QTS-generated config file wrappers
21 obj-$(CONFIG_TARGET_SOCFPGA_GEN5) += scan_manager.o wrap_pll_config.o \
22 clock_manager_gen5.o reset_manager_gen5.o \
23 misc_gen5.o system_manager_gen5.o
24 obj-$(CONFIG_SPL_BUILD) += wrap_iocsr_config.o wrap_pinmux_config.o \
26 CFLAGS_wrap_iocsr_config.o += -I$(srctree)/board/$(BOARDDIR)
27 CFLAGS_wrap_pinmux_config.o += -I$(srctree)/board/$(BOARDDIR)
28 CFLAGS_wrap_pll_config.o += -I$(srctree)/board/$(BOARDDIR)
29 CFLAGS_wrap_sdram_config.o += -I$(srctree)/board/$(BOARDDIR)