arm: socfpga: Add reset driver support for Arria 10
[platform/kernel/u-boot.git] / arch / arm / mach-socfpga / Makefile
1 #
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 #
7 # SPDX-License-Identifier:      GPL-2.0+
8 #
9
10 obj-y   += misc.o timer.o reset_manager.o clock_manager.o \
11            fpga_manager.o board.o
12
13 obj-$(CONFIG_TARGET_SOCFPGA_ARRIA10) += reset_manager_arria10.o
14
15 obj-$(CONFIG_SPL_BUILD) += spl.o freeze_controller.o
16
17 # QTS-generated config file wrappers
18 obj-$(CONFIG_TARGET_SOCFPGA_GEN5)       += scan_manager.o wrap_pll_config.o \
19                                            clock_manager_gen5.o reset_manager_gen5.o \
20                                            misc_gen5.o system_manager_gen5.o
21 obj-$(CONFIG_SPL_BUILD) += wrap_iocsr_config.o wrap_pinmux_config.o     \
22                            wrap_sdram_config.o
23 CFLAGS_wrap_iocsr_config.o      += -I$(srctree)/board/$(BOARDDIR)
24 CFLAGS_wrap_pinmux_config.o     += -I$(srctree)/board/$(BOARDDIR)
25 CFLAGS_wrap_pll_config.o        += -I$(srctree)/board/$(BOARDDIR)
26 CFLAGS_wrap_sdram_config.o      += -I$(srctree)/board/$(BOARDDIR)