summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-12-04 10:03:39 -0500
committerTom Rini <trini@konsulko.com>2022-12-23 10:07:03 -0500
commit42119de8b51ca703d5e6c489b59c99aa3db7ab30 (patch)
treeb556b6e72375f8360f4d2f908b5f30aaf7ebc17b
parentb8089c6d688dd031d07274fc07678a2005b466e9 (diff)
global: Migrate CONFIG_DW_WDT_CLOCK_KHZ to CFG
Perform a simple rename of CONFIG_DW_WDT_CLOCK_KHZ to CFG_DW_WDT_CLOCK_KHZ Signed-off-by: Tom Rini <trini@konsulko.com>
-rw-r--r--drivers/watchdog/designware_wdt.c2
-rw-r--r--include/configs/socfpga_common.h2
-rw-r--r--include/configs/socfpga_soc64_common.h4
3 files changed, 4 insertions, 4 deletions
diff --git a/drivers/watchdog/designware_wdt.c b/drivers/watchdog/designware_wdt.c
index f8df1916b5f..447a22d3b36 100644
--- a/drivers/watchdog/designware_wdt.c
+++ b/drivers/watchdog/designware_wdt.c
@@ -132,7 +132,7 @@ static int designware_wdt_probe(struct udevice *dev)
goto err;
}
#else
- priv->clk_khz = CONFIG_DW_WDT_CLOCK_KHZ;
+ priv->clk_khz = CFG_DW_WDT_CLOCK_KHZ;
#endif
if (CONFIG_IS_ENABLED(DM_RESET) &&
diff --git a/include/configs/socfpga_common.h b/include/configs/socfpga_common.h
index 088cd4d4f7f..d0f5331d451 100644
--- a/include/configs/socfpga_common.h
+++ b/include/configs/socfpga_common.h
@@ -64,7 +64,7 @@
/*
* L4 Watchdog
*/
-#define CONFIG_DW_WDT_CLOCK_KHZ 25000
+#define CFG_DW_WDT_CLOCK_KHZ 25000
/*
* NAND Support
diff --git a/include/configs/socfpga_soc64_common.h b/include/configs/socfpga_soc64_common.h
index 47089f312d2..df3927297bb 100644
--- a/include/configs/socfpga_soc64_common.h
+++ b/include/configs/socfpga_soc64_common.h
@@ -90,10 +90,10 @@
#ifdef CONFIG_TARGET_SOCFPGA_STRATIX10
#ifndef __ASSEMBLY__
unsigned int cm_get_l4_sys_free_clk_hz(void);
-#define CONFIG_DW_WDT_CLOCK_KHZ (cm_get_l4_sys_free_clk_hz() / 1000)
+#define CFG_DW_WDT_CLOCK_KHZ (cm_get_l4_sys_free_clk_hz() / 1000)
#endif
#else
-#define CONFIG_DW_WDT_CLOCK_KHZ 100000
+#define CFG_DW_WDT_CLOCK_KHZ 100000
#endif
/*