public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH RESEND] watchdog: Hide WATCHDOG_RESET_DISABLE
@ 2020-09-24  8:09 Michael Walle
  2020-11-02  8:09 ` sbabic at denx.de
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Walle @ 2020-09-24  8:09 UTC (permalink / raw)
  To: u-boot

This option is only supported by the IMX watchdog and seems to be
similar to CONFIG_WATCHDOG.

Move it below the IMX watchdog and make it dependent on IMX_WATCHDOG.

Signed-off-by: Michael Walle <michael@walle.cc>
---

This patch was part of the watchdog behavior patch (series), because I
thought it would result in conflicts if I send the patches individually.
That isn't the case.

 drivers/watchdog/Kconfig | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index 210d9f8093..4532a40e45 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -21,12 +21,6 @@ config WATCHDOG_TIMEOUT_MSECS
 config HW_WATCHDOG
 	bool
 
-config WATCHDOG_RESET_DISABLE
-	bool "Disable reset watchdog"
-	help
-	  Disable reset watchdog, which can let WATCHDOG_RESET invalid, so
-	  that the watchdog will not be fed in u-boot.
-
 config IMX_WATCHDOG
 	bool "Enable Watchdog Timer support for IMX and LSCH2 of NXP"
 	select HW_WATCHDOG if !WDT
@@ -34,6 +28,13 @@ config IMX_WATCHDOG
 	  Select this to enable the IMX and LSCH2 of Layerscape watchdog
 	  driver.
 
+config WATCHDOG_RESET_DISABLE
+	bool "Disable reset watchdog"
+	depends on IMX_WATCHDOG
+	help
+	  Disable reset watchdog, which can let WATCHDOG_RESET invalid, so
+	  that the watchdog will not be fed in u-boot.
+
 config OMAP_WATCHDOG
 	bool "TI OMAP watchdog driver"
 	depends on ARCH_OMAP2PLUS
-- 
2.20.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH RESEND] watchdog: Hide WATCHDOG_RESET_DISABLE
  2020-09-24  8:09 [PATCH RESEND] watchdog: Hide WATCHDOG_RESET_DISABLE Michael Walle
@ 2020-11-02  8:09 ` sbabic at denx.de
  0 siblings, 0 replies; 2+ messages in thread
From: sbabic at denx.de @ 2020-11-02  8:09 UTC (permalink / raw)
  To: u-boot

> This option is only supported by the IMX watchdog and seems to be
> similar to CONFIG_WATCHDOG.
> Move it below the IMX watchdog and make it dependent on IMX_WATCHDOG.
> Signed-off-by: Michael Walle <michael@walle.cc>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-11-02  8:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-24  8:09 [PATCH RESEND] watchdog: Hide WATCHDOG_RESET_DISABLE Michael Walle
2020-11-02  8:09 ` sbabic at denx.de

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox