From 6e7df1d151a7a127caf3b62ff6dfc003fc2aefcd Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Tue, 10 Jan 2023 11:19:45 -0500 Subject: 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 Reviewed-by: Simon Glass --- lib/time.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/time.c') diff --git a/lib/time.c b/lib/time.c index 0c95d12f614..5252190af53 100644 --- a/lib/time.c +++ b/lib/time.c @@ -19,8 +19,8 @@ #include #include -#ifndef CONFIG_WD_PERIOD -# define CONFIG_WD_PERIOD (10 * 1000 * 1000) /* 10 seconds default */ +#ifndef CFG_WD_PERIOD +# define CFG_WD_PERIOD (10 * 1000 * 1000) /* 10 seconds default */ #endif DECLARE_GLOBAL_DATA_PTR; @@ -199,7 +199,7 @@ void udelay(unsigned long usec) do { schedule(); - kv = usec > CONFIG_WD_PERIOD ? CONFIG_WD_PERIOD : usec; + kv = usec > CFG_WD_PERIOD ? CFG_WD_PERIOD : usec; __udelay(kv); usec -= kv; } while(usec); -- cgit v1.2.3