]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
global: Migrate CONFIG_DW_WDT_CLOCK_KHZ to CFG
authorTom Rini <trini@konsulko.com>
Sun, 4 Dec 2022 15:03:39 +0000 (10:03 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 23 Dec 2022 15:07:03 +0000 (10:07 -0500)
Perform a simple rename of CONFIG_DW_WDT_CLOCK_KHZ to CFG_DW_WDT_CLOCK_KHZ

Signed-off-by: Tom Rini <trini@konsulko.com>
drivers/watchdog/designware_wdt.c
include/configs/socfpga_common.h
include/configs/socfpga_soc64_common.h

index f8df1916b5f88b8498dfb67bde7883a6f3c1d67f..447a22d3b36528bc7d69703ece97ca8234848da4 100644 (file)
@@ -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) &&
index 088cd4d4f7f69cbc45cc0640aed9b0ae98c55054..d0f5331d451881ddafa264b32c8e2dedf9c0e23b 100644 (file)
@@ -64,7 +64,7 @@
 /*
  * L4 Watchdog
  */
-#define CONFIG_DW_WDT_CLOCK_KHZ                25000
+#define CFG_DW_WDT_CLOCK_KHZ           25000
 
 /*
  * NAND Support
index 47089f312d2c5d90f27d9ed36d2ea57ee60e76e8..df3927297bbed1629010c1cebd9abc4e0d73ff96 100644 (file)
 #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
 
 /*