aboutsummaryrefslogtreecommitdiff
path: root/arch/m68k/lib
diff options
context:
space:
mode:
authorAngelo Dureghello <angelo@kernel-space.org>2023-02-25 23:25:26 +0100
committerAngelo Dureghello <angelo@kernel-space.org>2023-03-15 01:41:57 +0100
commit7ff7b46e6ce44b2ee09647a928ce1021c3c8a66e (patch)
treeae549d05e63968da500aaed843f1f13aa635c5e5 /arch/m68k/lib
parent12f5489297bc3b58bd9cc870da4331775263398c (diff)
downloadu-boot-7ff7b46e6ce44b2ee09647a928ce1021c3c8a66e.zip
u-boot-7ff7b46e6ce44b2ee09647a928ce1021c3c8a66e.tar.gz
u-boot-7ff7b46e6ce44b2ee09647a928ce1021c3c8a66e.tar.bz2
m68k: rename CONFIG_MCFTMR to CFG_MCFTMR
This is not a Kconfig option so changing to _CFG. Signed-off-by: Angelo Durgehello <angelo@kernel-space.org>
Diffstat (limited to 'arch/m68k/lib')
-rw-r--r--arch/m68k/lib/time.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/m68k/lib/time.c b/arch/m68k/lib/time.c
index 2ce6908..ca8c039 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).