diff options
author | Tom Rini <trini@konsulko.com> | 2023-03-27 15:19:57 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-03-27 15:19:57 -0400 |
commit | 605bc145f91d2a28ba2e517cae4e53e255e34b6f (patch) | |
tree | a8df36d6569d441bc013399ff7dafff07cd36657 /arch/m68k/lib/time.c | |
parent | fde439219ff53a46bdd5dff69e049ccd4be57310 (diff) | |
parent | 41a88ad529b3943b1e465846eb24fe2c29203e35 (diff) |
Merge branch 'master' into next
Diffstat (limited to 'arch/m68k/lib/time.c')
-rw-r--r-- | arch/m68k/lib/time.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/m68k/lib/time.c b/arch/m68k/lib/time.c index 2ce69088d94..ca8c0396235 100644 --- a/arch/m68k/lib/time.c +++ b/arch/m68k/lib/time.c @@ -25,7 +25,7 @@ static volatile ulong timestamp = 0; #define CFG_SYS_WATCHDOG_FREQ (CONFIG_SYS_HZ / 2) #endif -#if defined(CONFIG_MCFTMR) +#if defined(CFG_MCFTMR) #ifndef CFG_SYS_UDELAY_BASE # error "uDelay base not defined!" #endif @@ -111,7 +111,7 @@ ulong get_timer(ulong base) return (timestamp - base); } -#endif /* CONFIG_MCFTMR */ +#endif /* CFG_MCFTMR */ /* * This function is derived from PowerPC code (read timebase as long long). |