[PATCH 05/14] ARM: Arria10: PE1: disable l4wd0 in bringup

Steffen Trumtrar s.trumtrar at pengutronix.de
Mon Jun 17 04:36:27 PDT 2024


The l4wd0 is now left running from the BootROM. Disable it in the
bringup image, because it would only make problems and has no benefit in
that case.

Signed-off-by: Steffen Trumtrar <s.trumtrar at pengutronix.de>
---
 arch/arm/boards/enclustra-aa1/lowlevel.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/boards/enclustra-aa1/lowlevel.c b/arch/arm/boards/enclustra-aa1/lowlevel.c
index ada7cb5a9f..10a2095e19 100644
--- a/arch/arm/boards/enclustra-aa1/lowlevel.c
+++ b/arch/arm/boards/enclustra-aa1/lowlevel.c
@@ -110,6 +110,8 @@ ENTRY_FUNCTION_WITHSTACK(start_socfpga_aa1_bringup, ARRIA10_STACKTOP, r0, r1, r2
 
 	arria10_init(&mainpll_cfg, &perpll_cfg, pinmux);
 
+	arria10_watchdog_disable();
+
 	/* wait for fpga_usermode */
 	a10_wait_for_usermode(0x1000000);
 

-- 
2.43.2




More information about the barebox mailing list