2012-10-04 06:46:02 +00:00
|
|
|
#
|
|
|
|
# (C) Copyright 2000-2003
|
|
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
#
|
2017-04-25 18:44:48 +00:00
|
|
|
# Copyright (C) 2012-2017 Altera Corporation <www.altera.com>
|
2012-10-04 06:46:02 +00:00
|
|
|
#
|
2013-07-08 07:37:19 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2012-10-04 06:46:02 +00:00
|
|
|
#
|
|
|
|
|
2017-04-25 18:44:48 +00:00
|
|
|
obj-y += board.o
|
|
|
|
obj-y += clock_manager.o
|
|
|
|
obj-y += misc.o
|
|
|
|
obj-y += reset_manager.o
|
|
|
|
obj-y += timer.o
|
2015-12-02 19:31:32 +00:00
|
|
|
|
2017-04-25 18:44:48 +00:00
|
|
|
ifdef CONFIG_TARGET_SOCFPGA_GEN5
|
|
|
|
obj-y += clock_manager_gen5.o
|
|
|
|
obj-y += misc_gen5.o
|
|
|
|
obj-y += reset_manager_gen5.o
|
|
|
|
obj-y += scan_manager.o
|
|
|
|
obj-y += system_manager_gen5.o
|
|
|
|
obj-y += wrap_pll_config.o
|
2017-07-26 05:05:38 +00:00
|
|
|
obj-y += fpga_manager.o
|
2017-04-25 18:44:48 +00:00
|
|
|
endif
|
2017-04-25 18:44:38 +00:00
|
|
|
|
2017-04-25 18:44:48 +00:00
|
|
|
ifdef CONFIG_TARGET_SOCFPGA_ARRIA10
|
|
|
|
obj-y += clock_manager_arria10.o
|
|
|
|
obj-y += misc_arria10.o
|
|
|
|
obj-y += pinmux_arria10.o
|
|
|
|
obj-y += reset_manager_arria10.o
|
|
|
|
endif
|
2015-08-02 19:12:09 +00:00
|
|
|
|
2017-04-25 18:44:48 +00:00
|
|
|
ifdef CONFIG_SPL_BUILD
|
|
|
|
obj-y += spl.o
|
|
|
|
ifdef CONFIG_TARGET_SOCFPGA_GEN5
|
|
|
|
obj-y += freeze_controller.o
|
|
|
|
obj-y += wrap_iocsr_config.o
|
|
|
|
obj-y += wrap_pinmux_config.o
|
|
|
|
obj-y += wrap_sdram_config.o
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifdef CONFIG_TARGET_SOCFPGA_GEN5
|
2015-08-02 19:12:09 +00:00
|
|
|
# QTS-generated config file wrappers
|
|
|
|
CFLAGS_wrap_iocsr_config.o += -I$(srctree)/board/$(BOARDDIR)
|
|
|
|
CFLAGS_wrap_pinmux_config.o += -I$(srctree)/board/$(BOARDDIR)
|
|
|
|
CFLAGS_wrap_pll_config.o += -I$(srctree)/board/$(BOARDDIR)
|
|
|
|
CFLAGS_wrap_sdram_config.o += -I$(srctree)/board/$(BOARDDIR)
|
2017-04-25 18:44:48 +00:00
|
|
|
endif
|