diff options
author | Tom Rini <trini@konsulko.com> | 2023-01-10 19:19:45 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-01-20 20:27:24 +0300 |
commit | 6e7df1d151a7a127caf3b62ff6dfc003fc2aefcd (patch) | |
tree | ae38e9dcf468b2e4e58293561fae87895d9b549f /drivers/timer/mpc83xx_timer.c | |
parent | ad242344681f6a0076a6bf100aa83ac9ecbea355 (diff) | |
download | u-boot-6e7df1d151a7a127caf3b62ff6dfc003fc2aefcd.tar.xz |
global: Finish CONFIG -> CFG migration
At this point, the remaining places where we have a symbol that is
defined as CONFIG_... are in fairly odd locations. While as much dead
code has been removed as possible, some of these locations are simply
less obvious at first. In other cases, this code is used, but was
defined in such a way as to have been missed by earlier checks. Perform
a rename of all such remaining symbols to be CFG_... rather than
CONFIG_...
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/timer/mpc83xx_timer.c')
-rw-r--r-- | drivers/timer/mpc83xx_timer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/timer/mpc83xx_timer.c b/drivers/timer/mpc83xx_timer.c index 410bf723d6..7814cb6a5d 100644 --- a/drivers/timer/mpc83xx_timer.c +++ b/drivers/timer/mpc83xx_timer.c @@ -20,8 +20,8 @@ DECLARE_GLOBAL_DATA_PTR; -#ifndef CONFIG_SYS_WATCHDOG_FREQ -#define CONFIG_SYS_WATCHDOG_FREQ (CONFIG_SYS_HZ / 2) +#ifndef CFG_SYS_WATCHDOG_FREQ +#define CFG_SYS_WATCHDOG_FREQ (CONFIG_SYS_HZ / 2) #endif /** @@ -175,7 +175,7 @@ void timer_interrupt(struct pt_regs *regs) priv->timestamp++; #if defined(CONFIG_WATCHDOG) || defined(CONFIG_HW_WATCHDOG) - if (CONFIG_SYS_WATCHDOG_FREQ && (priv->timestamp % (CONFIG_SYS_WATCHDOG_FREQ)) == 0) + if (CFG_SYS_WATCHDOG_FREQ && (priv->timestamp % (CFG_SYS_WATCHDOG_FREQ)) == 0) schedule(); #endif /* CONFIG_WATCHDOG || CONFIG_HW_WATCHDOG */ |