public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Michael Opdenacker <michael.opdenacker@bootlin.com>
To: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Cc: "u-boot@lists.denx.de" <u-boot@lists.denx.de>
Subject: Re: ARM: mach-at91: how to stop U-Boot/SPL from disabling the watchdog timer on SAMAD3 Xplained
Date: Fri, 10 Dec 2021 09:32:25 +0100	[thread overview]
Message-ID: <a966dcab-194b-bd95-00a4-8c8a3ef81b44@bootlin.com> (raw)
In-Reply-To: <20211209164303.vp4sxxxpyc7emao7@fedora>

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


      reply	other threads:[~2021-12-10  8:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-09 16:32 ARM: mach-at91: how to stop U-Boot/SPL from disabling the watchdog timer on SAMAD3 Xplained Michael Opdenacker
2021-12-09 16:43 ` Quentin Schulz
2021-12-10  8:32   ` Michael Opdenacker [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a966dcab-194b-bd95-00a4-8c8a3ef81b44@bootlin.com \
    --to=michael.opdenacker@bootlin.com \
    --cc=quentin.schulz@theobroma-systems.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox