mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-11-29 14:41:26 +01:00
stm32mp1: ram: reload watchdog during ddr test
Avoid watchdog during infinite DDR test. Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
This commit is contained in:
parent
37f41ae900
commit
25331ae1c1
@ -4,6 +4,7 @@
|
|||||||
*/
|
*/
|
||||||
#include <common.h>
|
#include <common.h>
|
||||||
#include <console.h>
|
#include <console.h>
|
||||||
|
#include <watchdog.h>
|
||||||
#include <asm/io.h>
|
#include <asm/io.h>
|
||||||
#include <linux/log2.h>
|
#include <linux/log2.h>
|
||||||
#include "stm32mp1_tests.h"
|
#include "stm32mp1_tests.h"
|
||||||
@ -154,6 +155,8 @@ static int test_loop_end(u32 *loop, u32 nb_loop, u32 progress)
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
printf("loop #%d\n", *loop);
|
printf("loop #%d\n", *loop);
|
||||||
|
WATCHDOG_RESET();
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user