summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2022-06-15 12:03:46 -0400
committerTom Rini <[email protected]>2022-07-05 17:03:01 -0400
commit0285455d905e5e2bc84b73fa6388ce5b1598d88b (patch)
treec31edd24394951178e1995927bf2860eff290ba1 /include
parentfbc3621fb5c810711f5678aea61db1d1a856d0f0 (diff)
watchdog: designware: Make this depend on WDT
As this driver can dynamically determine the values set in CONFIG_DW_WDT_BASE when using WDT, so make this depend on WDT rather than migrate CONFIG_DW_WDT_BASE to Kconfig. Cc: Chee Tien Fong <[email protected]> Cc: Chin-Liang See <[email protected]> Cc: Dinh Nguyen <[email protected]> Cc: Holger Brunck <[email protected]> Cc: Ley Foon Tan <[email protected]> Cc: Marek Vasut <[email protected]> Cc: Siew Chin Lim <[email protected]> Cc: Stefan Roese <[email protected]> Cc: hee Hong Ang <[email protected]> Signed-off-by: Tom Rini <[email protected]> Reviewed-by: Stefan Roese <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/configs/socfpga_common.h1
-rw-r--r--include/configs/socfpga_soc64_common.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/include/configs/socfpga_common.h b/include/configs/socfpga_common.h
index d1efba29fc4..4a7da76e51e 100644
--- a/include/configs/socfpga_common.h
+++ b/include/configs/socfpga_common.h
@@ -66,7 +66,6 @@
/*
* L4 Watchdog
*/
-#define CONFIG_DW_WDT_BASE SOCFPGA_L4WD0_ADDRESS
#define CONFIG_DW_WDT_CLOCK_KHZ 25000
/*
diff --git a/include/configs/socfpga_soc64_common.h b/include/configs/socfpga_soc64_common.h
index c1037ab595f..a3e8d549291 100644
--- a/include/configs/socfpga_soc64_common.h
+++ b/include/configs/socfpga_soc64_common.h
@@ -92,7 +92,6 @@
/*
* L4 Watchdog
*/
-#define CONFIG_DW_WDT_BASE SOCFPGA_L4WD0_ADDRESS
#ifdef CONFIG_TARGET_SOCFPGA_STRATIX10
#ifndef __ASSEMBLY__
unsigned int cm_get_l4_sys_free_clk_hz(void);