Skip to contentSkip to conversation

ARM: socfpga: Register the FPGA on A10 in SPL again

PATCH New Marek Vasut 1 participant 1 message Aug 13, 2018

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: socfpga: Register the FPGA on A10 in SPL again

The restructuring of the SPL dropped registration of the FPGA in SPL, readd it.

Cc Chin Liang See <[email protected]>
Cc Dinh Nguyen <[email protected]>
Cc Ley Foon Tan <[email protected]>
Fixes c859f2a77d98 ("arm: socfpga: Restructure the SPL file")
---
 arch/arm/mach-socfpga/spl_a10.c | 6 ++++++
 1 file changed, 6 insertions(+)
arch/arm/mach-socfpga/spl_a10.c +6 -0
index fe4782c9cb..4164e4d31c 100644
@@ -17,6 +17,7 @@
 #include <asm/arch/scan_manager.h>
 #include <asm/arch/sdram.h>
 #include <asm/arch/scu.h>
+#include <asm/arch/misc.h>
 #include <asm/arch/nic301.h>
 #include <asm/sections.h>
 #include <fdtdec.h>
@@ -79,6 +80,11 @@ void spl_board_init(void)
 
 	/* enable console uart printing */
 	preloader_console_init();
+
+	WATCHDOG_RESET();
+
+	/* Add device descriptor to FPGA device table */
+	socfpga_fpga_add();
 }
 
 void board_init_f(ulong dummy)
Signature · 1 line
2.16.2