]> git.dujemihanovic.xyz Git - u-boot.git/commit
sandbox: watchdog: Avoid an error on startup
authorSimon Glass <sjg@chromium.org>
Thu, 10 Aug 2023 15:53:13 +0000 (09:53 -0600)
committerStefan Roese <sr@denx.de>
Thu, 19 Oct 2023 05:50:18 +0000 (07:50 +0200)
commitbc003cad7f1ee9eb6fd993e82e6f7e6795432ef5
treed84ea955d2baa3ab453e1e6f05b02d67804737ba
parent9a0cf3993f71043ba08c315572c54622de42d447
sandbox: watchdog: Avoid an error on startup

For some time now running sandbox with -T produces an error:

   Core:  270 devices, 95 uclasses, devicetree: board
   WDT:   Not starting wdt-gpio-toggle
   wdt_gpio wdt-gpio-level: Request for wdt gpio failed: -16
   WDT:   Not starting wdt@0
   MMC:   mmc2: 2 (SD), mmc1: 1 (SD), mmc0: 0 (SD)

Use an unallocated GPIO to avoid this.

Signed-off-by: Simon Glass <sjg@chromium.org>
Fixes: 1fc45d6483d ("watchdog: add pulse support to gpio watchdog driver")
Reviewed-by: Stefan Roese <sr@denx.de>
arch/sandbox/dts/test.dts
test/dm/wdt.c