ARM: mach-at91: how to stop U-Boot/SPL from disabling the watchdog timer on SAMAD3 Xplained

Michael Opdenacker michael.opdenacker at bootlin.com
Fri Dec 10 09:32:25 CET 2021


Hi Quentin,

On 12/9/21 5:43 PM, Quentin Schulz wrote:
> From a quick look at the code, you need to enable CONFIG_WDT_AT91 and
> the watchdog won't be disabled anymore by the SPL.
>
> See:
> https://elixir.bootlin.com/u-boot/latest/source/arch/arm/mach-at91/spl_atmel.c#L121
> and
> https://elixir.bootlin.com/u-boot/latest/source/arch/arm/mach-at91/spl.c#L16


Good catch, thanks!
Indeed setting CONFIG_WDT_AT91=y did the trick.

I didn't consider enabling the watchdog driver to avoid disabling the
watchdog timer!
Thanks again,
Michael.

-- 
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the U-Boot mailing list