summaryrefslogtreecommitdiff
path: root/cleopatre/u-boot-1.1.6
diff options
context:
space:
mode:
Diffstat (limited to 'cleopatre/u-boot-1.1.6')
-rw-r--r--cleopatre/u-boot-1.1.6/cpu/spc300/timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cleopatre/u-boot-1.1.6/cpu/spc300/timer.c b/cleopatre/u-boot-1.1.6/cpu/spc300/timer.c
index 5ddb01ead5..f448a8e358 100644
--- a/cleopatre/u-boot-1.1.6/cpu/spc300/timer.c
+++ b/cleopatre/u-boot-1.1.6/cpu/spc300/timer.c
@@ -28,7 +28,7 @@
/* macro to read the 32 bit timer */
#define READ_TIMER readl(TIMER1CURRENTVAL_1)
-#define TIME_HZ (3125000) /* xclk/timer_prescaler = 3.125MHz */
+#define TIME_HZ CFG_HZ
static ulong timestamp;
static ulong lastdec;