
26 Jun
2021
26 Jun
'21
8:32 p.m.
Hi Rasmus,
On Tue, 22 Jun 2021 at 14:29, Rasmus Villemoes rasmus.villemoes@prevas.dk wrote:
On 22/06/2021 15.31, Simon Glass wrote:
On Thu, 27 May 2021 at 16:00, Rasmus Villemoes rasmus.villemoes@prevas.dk wrote:
Check that the watchdog_reset() implementation in wdt-uclass behaves as expected:
- resets all activated watchdog devices
- leaves unactivated/stopped devices alone
- that the rate-limiting works, with a per-device threshold
Signed-off-by: Rasmus Villemoes rasmus.villemoes@prevas.dk
arch/sandbox/dts/test.dts | 2 ++ test/dm/wdt.c | 54 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+)
Reviewed-by: Simon Glass sjg@chromium.org
I'd prefer to advance time though, rather than using mdelay().
Cool, I didn't know we could do that in sandbox. Have a pointer?
You can do anything in sandbox. It is just software :-)
See timer_test_add_offset()
Regards, Simon