arm: socfpga: remove building scan manager
authorDinh Nguyen <dinguyen@opensource.altera.com>
Wed, 2 Dec 2015 19:31:32 +0000 (13:31 -0600)
committerMarek Vasut <marex@denx.de>
Sun, 20 Dec 2015 02:44:56 +0000 (03:44 +0100)
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>
arch/arm/mach-socfpga/Makefile

index 5cf9e23e2baec1e5924d8a61660e58491b811d45..809cd47947a37f6a16f4a67a5dab94f2f127917a 100644 (file)
@@ -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)