From: Patrick Delaunay Date: Tue, 30 Jul 2019 17:16:51 +0000 (+0200) Subject: stm32mp1: ram: reload watchdog during ddr test X-Git-Tag: v2025.01-rc5-pxa1908~2809^2~17 X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=25331ae1c1d9cd200ad5117efa285c7a8c32f3ee;p=u-boot.git stm32mp1: ram: reload watchdog during ddr test Avoid watchdog during infinite DDR test. Signed-off-by: Patrick Delaunay --- diff --git a/drivers/ram/stm32mp1/stm32mp1_tests.c b/drivers/ram/stm32mp1/stm32mp1_tests.c index 7356802257..f947b5d373 100644 --- a/drivers/ram/stm32mp1/stm32mp1_tests.c +++ b/drivers/ram/stm32mp1/stm32mp1_tests.c @@ -4,6 +4,7 @@ */ #include #include +#include #include #include #include "stm32mp1_tests.h" @@ -154,6 +155,8 @@ static int test_loop_end(u32 *loop, u32 nb_loop, u32 progress) return 1; } printf("loop #%d\n", *loop); + WATCHDOG_RESET(); + return 0; }