blob: 809cd47947a37f6a16f4a67a5dab94f2f127917a [file] [log] [blame]
Dinh Nguyen77754402012-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 Denk1a459662013-07-08 09:37:19 +02007# SPDX-License-Identifier: GPL-2.0+
Dinh Nguyen77754402012-10-04 06:46:02 +00008#
9
Pavel Machek230fe9b2014-09-08 14:08:45 +020010obj-y += misc.o timer.o reset_manager.o system_manager.o clock_manager.o \
Dinh Nguyene5ad7d92015-12-02 13:31:32 -060011 fpga_manager.o board.o
12
Dinh Nguyenbd48c062015-08-01 03:42:10 +020013obj-$(CONFIG_SPL_BUILD) += spl.o freeze_controller.o
Marek Vasutca62d2e2015-08-02 21:12:09 +020014
15# QTS-generated config file wrappers
Dinh Nguyene5ad7d92015-12-02 13:31:32 -060016obj-$(CONFIG_TARGET_SOCFPGA_GEN5) += scan_manager.o wrap_pll_config.o
Marek Vasutca62d2e2015-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)