diff options
author | Dinh Nguyen <dinguyen@opensource.altera.com> | 2015-08-01 03:42:10 +0200 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2015-08-08 14:14:30 +0200 |
commit | bd48c0617b5c7212e5bf22169e716da878842da4 (patch) | |
tree | 16202fb8a6c4c6c99172ced8ee0703d5b73fda99 /arch/arm/mach-socfpga/Makefile | |
parent | bd0f5a91f30c0ff2d355bb7b9858f8b6fb7f5430 (diff) | |
download | u-boot-bd48c0617b5c7212e5bf22169e716da878842da4.tar.gz u-boot-bd48c0617b5c7212e5bf22169e716da878842da4.tar.xz u-boot-bd48c0617b5c7212e5bf22169e716da878842da4.zip |
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/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-socfpga/Makefile b/arch/arm/mach-socfpga/Makefile index 7524ef90e4..8a745c9b1e 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 |