[U-Boot] [PATCHv2 9/9] arm: socfpga: remove building scan manager

dinguyen at opensource.altera.com
2015-12-01T16:48:39Z

From: Dinh Nguyen <dinguyen@opensource.altera.com>

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>
---
arch/arm/mach-socfpga/Makefile | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-socfpga/Makefile b/arch/arm/mach-socfpga/Makefile
index 316b326..d4c5a42 100644
--- a/arch/arm/mach-socfpga/Makefile
+++ b/arch/arm/mach-socfpga/Makefile
@@ -8,11 +8,14 @@
#

obj-y += misc.o timer.o reset_manager.o system_manager.o clock_manager.o \
- fpga_manager.o scan_manager.o
+ fpga_manager.o
+
obj-$(CONFIG_SPL_BUILD) += spl.o freeze_controller.o

+ifneq ($(CONFIG_TARGET_SOCFPGA_ARRIA10),y)
# QTS-generated config file wrappers
-obj-y += wrap_pll_config.o
+obj-y += scan_manager.o wrap_pll_config.o
+endif
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)
--
2.6.2