All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/4] wdt: Add CONFIG_DESIGNWARE_WATCHDOG to Kconfig
@ 2020-02-02 17:10 Sean Anderson
  2020-02-02 17:12 ` [PATCH 2/4] arm: Move asm/utils.h to log2.h Sean Anderson
                   ` (4 more replies)
  0 siblings, 5 replies; 25+ messages in thread
From: Sean Anderson @ 2020-02-02 17:10 UTC (permalink / raw)
  To: u-boot

Currently this is set from headers. No board has this set by default, so we
don't need to modify any configs.
---
 drivers/watchdog/Kconfig               | 7 +++++++
 include/configs/socfpga_common.h       | 1 -
 include/configs/socfpga_soc64_common.h | 1 -
 3 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index 8c16d69d33..b717eebe3c 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -176,6 +176,13 @@ config WDT_TANGIER
 	  Intel Tangier SoC. If you're using a board with Intel Tangier
 	  SoC, say Y here.
 
+config DESIGNWARE_WATCHDOG
+	bool "Synopsys Designware watchdog timer support"
+	select HW_WATCHDOG if !WDT
+	help
+	  Enable support for the Synopsys Designware watchdog timer, which can
+	  be found on Altera socfpgas, and on Kendryte CPUs.
+
 config SPL_WDT
 	bool "Enable driver model for watchdog timer drivers in SPL"
 	depends on SPL_DM
diff --git a/include/configs/socfpga_common.h b/include/configs/socfpga_common.h
index 05bfef75c0..5329b19af2 100644
--- a/include/configs/socfpga_common.h
+++ b/include/configs/socfpga_common.h
@@ -105,7 +105,6 @@
  * L4 Watchdog
  */
 #ifdef CONFIG_HW_WATCHDOG
-#define CONFIG_DESIGNWARE_WATCHDOG
 #define CONFIG_DW_WDT_BASE		SOCFPGA_L4WD0_ADDRESS
 #define CONFIG_DW_WDT_CLOCK_KHZ		25000
 #endif
diff --git a/include/configs/socfpga_soc64_common.h b/include/configs/socfpga_soc64_common.h
index 4afadafd35..159e60ec6e 100644
--- a/include/configs/socfpga_soc64_common.h
+++ b/include/configs/socfpga_soc64_common.h
@@ -152,7 +152,6 @@ unsigned int cm_get_qspi_controller_clk_hz(void);
  */
 #ifdef CONFIG_SPL_BUILD
 #define CONFIG_HW_WATCHDOG
-#define CONFIG_DESIGNWARE_WATCHDOG
 #define CONFIG_DW_WDT_BASE		SOCFPGA_L4WD0_ADDRESS
 #ifdef CONFIG_TARGET_SOCFPGA_STRATIX10
 #ifndef __ASSEMBLY__
-- 
2.25.0

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

end of thread, other threads:[~2020-02-20 16:39 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-02 17:10 [PATCH 1/4] wdt: Add CONFIG_DESIGNWARE_WATCHDOG to Kconfig Sean Anderson
2020-02-02 17:12 ` [PATCH 2/4] arm: Move asm/utils.h to log2.h Sean Anderson
2020-02-02 17:24   ` Sean Anderson
2020-02-03  0:04   ` Simon Glass
2020-02-03  8:12     ` Marek Vasut
2020-02-03 15:11       ` Simon Glass
2020-02-03 15:27         ` Sean Anderson
2020-02-03 15:31           ` Simon Glass
2020-02-02 17:12 ` [PATCH 3/4] wdt: Remove dependencies on CONFIG_DW_WDT_* from Designware WDT Sean Anderson
2020-02-02 17:25   ` Sean Anderson
2020-02-02 17:13 ` [PATCH 4/4] wdt: Add DM support for " Sean Anderson
2020-02-02 17:25   ` Sean Anderson
2020-02-03  0:04     ` Simon Glass
2020-02-03  1:18       ` Sean Anderson
2020-02-03  4:03         ` Simon Glass
2020-02-02 17:15 ` [PATCH 1/4] wdt: Add CONFIG_DESIGNWARE_WATCHDOG to Kconfig Marek Vasut
2020-02-02 17:23   ` Sean Anderson
2020-02-02 17:40     ` Marek Vasut
2020-02-02 17:48       ` Sean Anderson
2020-02-02 17:52         ` Marek Vasut
2020-02-02 18:02           ` Sean Anderson
2020-02-03  8:13             ` Marek Vasut
2020-02-19 21:37               ` Sean Anderson
2020-02-20 16:39                 ` Marek Vasut
2020-02-02 17:24 ` Sean Anderson

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.