blob: 809cd47947a37f6a16f4a67a5dab94f2f127917a [file] [log] [blame]
Dinh Nguyenad51f7c2012-10-04 06:46:02 +00001#
2# (C) Copyright 2000-2003
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
5# Copyright (C) 2012 Altera Corporation <www.altera.com>
6#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02007# SPDX-License-Identifier: GPL-2.0+
Dinh Nguyenad51f7c2012-10-04 06:46:02 +00008#
9
Pavel Machekc7213802014-09-08 14:08:45 +020010obj-y += misc.o timer.o reset_manager.o system_manager.o clock_manager.o \
Dinh Nguyen9365e902015-12-02 13:31:32 -060011 fpga_manager.o board.o
12
Dinh Nguyen8ed66612015-08-01 03:42:10 +020013obj-$(CONFIG_SPL_BUILD) += spl.o freeze_controller.o
Marek Vasutaefb78d2015-08-02 21:12:09 +020014
15# QTS-generated config file wrappers
Dinh Nguyen9365e902015-12-02 13:31:32 -060016obj-$(CONFIG_TARGET_SOCFPGA_GEN5) += scan_manager.o wrap_pll_config.o
Marek Vasutaefb78d2015-08-02 21:12:09 +020017obj-$(CONFIG_SPL_BUILD) += wrap_iocsr_config.o wrap_pinmux_config.o \
18 wrap_sdram_config.o
19CFLAGS_wrap_iocsr_config.o += -I$(srctree)/board/$(BOARDDIR)
20CFLAGS_wrap_pinmux_config.o += -I$(srctree)/board/$(BOARDDIR)
21CFLAGS_wrap_pll_config.o += -I$(srctree)/board/$(BOARDDIR)
22CFLAGS_wrap_sdram_config.o += -I$(srctree)/board/$(BOARDDIR)