summaryrefslogtreecommitdiff
path: root/arch/arm/mach-socfpga/Makefile
diff options
context:
space:
mode:
authorDinh Nguyen <dinguyen@opensource.altera.com>2015-08-01 01:42:10 (GMT)
committerMarek Vasut <marex@denx.de>2015-08-08 12:14:30 (GMT)
commitbd48c0617b5c7212e5bf22169e716da878842da4 (patch)
tree16202fb8a6c4c6c99172ced8ee0703d5b73fda99 /arch/arm/mach-socfpga/Makefile
parentbd0f5a91f30c0ff2d355bb7b9858f8b6fb7f5430 (diff)
downloadu-boot-fsl-qoriq-bd48c0617b5c7212e5bf22169e716da878842da4.tar.xz
arm: socfpga: misc: Add support for printing FPGA type
Add code which uses the new functions for obtaining FPGA ID from the scan manager. This new code prints the FPGA model attached to the SoCFPGA during boot and sets environment variable "fpgatype", which can be used to determine the FPGA model in U-Boot scripts. Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com> Signed-off-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'arch/arm/mach-socfpga/Makefile')
-rw-r--r--arch/arm/mach-socfpga/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-socfpga/Makefile b/arch/arm/mach-socfpga/Makefile
index 7524ef9..8a745c9 100644
--- a/arch/arm/mach-socfpga/Makefile
+++ b/arch/arm/mach-socfpga/Makefile
@@ -8,5 +8,5 @@
#
obj-y += misc.o timer.o reset_manager.o system_manager.o clock_manager.o \
- fpga_manager.o
-obj-$(CONFIG_SPL_BUILD) += spl.o freeze_controller.o scan_manager.o
+ fpga_manager.o scan_manager.o
+obj-$(CONFIG_SPL_BUILD) += spl.o freeze_controller.o