arm: socfpga: Add misc support for Arria 10
[oweals/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) += clock_manager_arria10.o \
14                                         pinmux_arria10.o        \
15                                         misc_arria10.o          \
16                                         reset_manager_arria10.o
17
18 obj-$(CONFIG_SPL_BUILD) += spl.o freeze_controller.o
19
20 # QTS-generated config file wrappers
21 obj-$(CONFIG_TARGET_SOCFPGA_GEN5)       += scan_manager.o wrap_pll_config.o \
22                                            clock_manager_gen5.o reset_manager_gen5.o \
23                                            misc_gen5.o system_manager_gen5.o
24 obj-$(CONFIG_SPL_BUILD) += wrap_iocsr_config.o wrap_pinmux_config.o     \
25                            wrap_sdram_config.o
26 CFLAGS_wrap_iocsr_config.o      += -I$(srctree)/board/$(BOARDDIR)
27 CFLAGS_wrap_pinmux_config.o     += -I$(srctree)/board/$(BOARDDIR)
28 CFLAGS_wrap_pll_config.o        += -I$(srctree)/board/$(BOARDDIR)
29 CFLAGS_wrap_sdram_config.o      += -I$(srctree)/board/$(BOARDDIR)