1# 2# (C) Copyright 2000-2003 3# Wolfgang Denk, DENX Software Engineering, wd@denx.de. 4# 5# Copyright (C) 2012-2017 Altera Corporation <www.altera.com> 6# 7# SPDX-License-Identifier: GPL-2.0+ 8# 9 10obj-y += board.o 11obj-y += clock_manager.o 12obj-y += fpga_manager.o 13obj-y += misc.o 14obj-y += reset_manager.o 15obj-y += timer.o 16 17ifdef CONFIG_TARGET_SOCFPGA_GEN5 18obj-y += clock_manager_gen5.o 19obj-y += misc_gen5.o 20obj-y += reset_manager_gen5.o 21obj-y += scan_manager.o 22obj-y += system_manager_gen5.o 23obj-y += wrap_pll_config.o 24endif 25 26ifdef CONFIG_TARGET_SOCFPGA_ARRIA10 27obj-y += clock_manager_arria10.o 28obj-y += misc_arria10.o 29obj-y += pinmux_arria10.o 30obj-y += reset_manager_arria10.o 31endif 32 33ifdef CONFIG_SPL_BUILD 34obj-y += spl.o 35ifdef CONFIG_TARGET_SOCFPGA_GEN5 36obj-y += freeze_controller.o 37obj-y += wrap_iocsr_config.o 38obj-y += wrap_pinmux_config.o 39obj-y += wrap_sdram_config.o 40endif 41endif 42 43ifdef CONFIG_TARGET_SOCFPGA_GEN5 44# QTS-generated config file wrappers 45CFLAGS_wrap_iocsr_config.o += -I$(srctree)/board/$(BOARDDIR) 46CFLAGS_wrap_pinmux_config.o += -I$(srctree)/board/$(BOARDDIR) 47CFLAGS_wrap_pll_config.o += -I$(srctree)/board/$(BOARDDIR) 48CFLAGS_wrap_sdram_config.o += -I$(srctree)/board/$(BOARDDIR) 49endif 50