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 system_manager.o clock_manager.o \
11 fpga_manager.o board.o
13 obj-$(CONFIG_SPL_BUILD) += spl.o freeze_controller.o
15 # QTS-generated config file wrappers
16 obj-$(CONFIG_TARGET_SOCFPGA_GEN5) += scan_manager.o wrap_pll_config.o
17 obj-$(CONFIG_SPL_BUILD) += wrap_iocsr_config.o wrap_pinmux_config.o \
19 CFLAGS_wrap_iocsr_config.o += -I$(srctree)/board/$(BOARDDIR)
20 CFLAGS_wrap_pinmux_config.o += -I$(srctree)/board/$(BOARDDIR)
21 CFLAGS_wrap_pll_config.o += -I$(srctree)/board/$(BOARDDIR)
22 CFLAGS_wrap_sdram_config.o += -I$(srctree)/board/$(BOARDDIR)