
2 Nov
2021
2 Nov
'21
7:44 p.m.
With CONFIG_SYSRESET_WATCHDOG=y the sandbox can use a watchdog based system reset. To make this work calling sandbox_wdt_expire_now() must lead to a reset.
Further we need CONFIG_WDT_GPIO=n to actually call the right watchdog. Adjust the watchdog test to avoid a build error.
With this change we can test the development suggested in
[PATCH 0/4] Improved sysreset/watchdog uclass integration https://lists.denx.de/pipermail/u-boot/2021-August/458656.html
v2: move test changes to Makefile
Heinrich Schuchardt (2): test/dm: fix watchdog test sandbox: fix sandbox_wdt_expire_now()
drivers/watchdog/sandbox_wdt.c | 1 + test/dm/Makefile | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-)
--
2.32.0