From: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
To: Simon Glass <sjg@chromium.org>
Cc: u-boot@lists.denx.de,
Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Subject: [PATCH v2 0/2] sandbox: enable testing SYSRESET_WATCHDOG
Date: Tue, 2 Nov 2021 19:44:28 +0100 [thread overview]
Message-ID: <20211102184430.17080-1-heinrich.schuchardt@canonical.com> (raw)
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
next reply other threads:[~2021-11-02 18:45 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-02 18:44 Heinrich Schuchardt [this message]
2021-11-02 18:44 ` [PATCH v2 1/2] test/dm: fix watchdog test Heinrich Schuchardt
2021-11-05 2:01 ` Simon Glass
2021-11-14 0:34 ` Simon Glass
2021-11-02 18:44 ` [PATCH v2 2/2] sandbox: fix sandbox_wdt_expire_now() Heinrich Schuchardt
2021-11-05 2:01 ` Simon Glass
2021-11-14 0:34 ` Simon Glass
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=20211102184430.17080-1-heinrich.schuchardt@canonical.com \
--to=heinrich.schuchardt@canonical.com \
--cc=sjg@chromium.org \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.