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>
This commit is contained in:
Tom Rini 2022-12-04 10:03:39 -05:00
parent b8089c6d68
commit 42119de8b5
3 changed files with 4 additions and 4 deletions

View 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) &&

View File

@ -64,7 +64,7 @@
/*
* L4 Watchdog
*/
#define CONFIG_DW_WDT_CLOCK_KHZ 25000
#define CFG_DW_WDT_CLOCK_KHZ 25000
/*
* NAND Support

View File

@ -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
/*