diff options
author | Tien Fong Chee <tien.fong.chee@intel.com> | 2017-12-05 15:58:08 +0800 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2018-05-18 10:30:47 +0200 |
commit | 011fa5f33dac4f5d7998cf7e9da904b5565691e5 (patch) | |
tree | c627accf6fb43f172d7dbe9df533a10a9305b08c /arch/arm/mach-socfpga/board.c | |
parent | c960ef29cd1bffccb84366cc6ca9c290cb3c36a0 (diff) | |
download | u-boot-011fa5f33dac4f5d7998cf7e9da904b5565691e5.zip u-boot-011fa5f33dac4f5d7998cf7e9da904b5565691e5.tar.gz u-boot-011fa5f33dac4f5d7998cf7e9da904b5565691e5.tar.bz2 |
ARM: socfpga: Adding SoCFPGA info for both SPL and U-Boot
SoC FPGA info is required in both SPL and U-Boot.
Signed-off-by: Tien Fong Chee <tien.fong.chee@intel.com>
Diffstat (limited to 'arch/arm/mach-socfpga/board.c')
-rw-r--r-- | arch/arm/mach-socfpga/board.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-socfpga/board.c b/arch/arm/mach-socfpga/board.c index 6e0b4b3..189e12a 100644 --- a/arch/arm/mach-socfpga/board.c +++ b/arch/arm/mach-socfpga/board.c @@ -10,6 +10,7 @@ #include <fdtdec.h> #include <asm/arch/reset_manager.h> #include <asm/arch/clock_manager.h> +#include <asm/arch/misc.h> #include <asm/io.h> #include <usb.h> @@ -30,6 +31,9 @@ int board_init(void) #if defined(CONFIG_TARGET_SOCFPGA_ARRIA10) /* configuring the clock based on handoff */ cm_basic_init(gd->fdt_blob); + + /* Add device descriptor to FPGA device table */ + socfpga_fpga_add(); #endif return 0; |