From: Marek Vasut Date: Mon, 13 Aug 2018 21:06:33 +0200 Subject: [U-Boot] [PATCH] ARM: socfpga: Register the FPGA on A10 in SPL again Message-ID: <20180813190633.31399-1-marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de The restructuring of the SPL dropped registration of the FPGA in SPL, readd it. Signed-off-by: Marek Vasut Cc: Chin Liang See Cc: Dinh Nguyen Cc: Ley Foon Tan Fixes: c859f2a77d98 ("arm: socfpga: Restructure the SPL file") --- arch/arm/mach-socfpga/spl_a10.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/mach-socfpga/spl_a10.c b/arch/arm/mach-socfpga/spl_a10.c index fe4782c9cb..4164e4d31c 100644 --- a/arch/arm/mach-socfpga/spl_a10.c +++ b/arch/arm/mach-socfpga/spl_a10.c @@ -17,6 +17,7 @@ #include #include #include +#include #include #include #include @@ -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) -- 2.16.2