summaryrefslogtreecommitdiff
path: root/arch/arm/mach-socfpga/Makefile
diff options
context:
space:
mode:
authorDinh Nguyen <dinguyen@opensource.altera.com>2015-12-02 13:31:32 -0600
committerMarek Vasut <marex@denx.de>2015-12-20 03:44:56 +0100
commite5ad7d9889f6c2af625449dcb4487a3936709e50 (patch)
treebf13c85dfcd785ea989757d217a4e3f928282bfe /arch/arm/mach-socfpga/Makefile
parented77aeb575934ff8ec202a7fe6e0cdc07f8cee3e (diff)
arm: socfpga: remove building scan manager
The scan manager is not needed for the Arria10. Edit the makefile to build the scan manager for arria5 and cyclone5 only. Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com> Acked-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'arch/arm/mach-socfpga/Makefile')
-rw-r--r--arch/arm/mach-socfpga/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/mach-socfpga/Makefile b/arch/arm/mach-socfpga/Makefile
index 5cf9e23e2b..809cd47947 100644
--- a/arch/arm/mach-socfpga/Makefile
+++ b/arch/arm/mach-socfpga/Makefile
@@ -8,11 +8,12 @@
#
obj-y += misc.o timer.o reset_manager.o system_manager.o clock_manager.o \
- fpga_manager.o scan_manager.o board.o
+ fpga_manager.o board.o
+
obj-$(CONFIG_SPL_BUILD) += spl.o freeze_controller.o
# QTS-generated config file wrappers
-obj-y += wrap_pll_config.o
+obj-$(CONFIG_TARGET_SOCFPGA_GEN5) += scan_manager.o wrap_pll_config.o
obj-$(CONFIG_SPL_BUILD) += wrap_iocsr_config.o wrap_pinmux_config.o \
wrap_sdram_config.o
CFLAGS_wrap_iocsr_config.o += -I$(srctree)/board/$(BOARDDIR)