summaryrefslogtreecommitdiffstats
path: root/cpu/mpc8xx/speed.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2005-08-12 22:32:29 +0200
committerWolfgang Denk <wd@pollux.denx.de>2005-08-12 22:32:29 +0200
commit4d302d69c83f7a09239c6575bc6cd37f1a4c77ae (patch)
treecd3160a78fbfb9d5c686813f41f3ca9bf3a55ff6 /cpu/mpc8xx/speed.c
parent8534bf9ac0c4c37ff684c03189a564f0aae7b076 (diff)
downloadbarebox-4d302d69c83f7a09239c6575bc6cd37f1a4c77ae.tar.gz
barebox-4d302d69c83f7a09239c6575bc6cd37f1a4c77ae.tar.xz
measure_gclk() is needed when DEBUG is enabled
Patch by Bryan O'Donoghue, 25 Apr 2005
Diffstat (limited to 'cpu/mpc8xx/speed.c')
-rw-r--r--cpu/mpc8xx/speed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/mpc8xx/speed.c b/cpu/mpc8xx/speed.c
index 95003ed9c1..f03831617c 100644
--- a/cpu/mpc8xx/speed.c
+++ b/cpu/mpc8xx/speed.c
@@ -25,7 +25,7 @@
#include <mpc8xx.h>
#include <asm/processor.h>
-#if !defined(CONFIG_8xx_CPUCLK_DEFAULT) || defined(CFG_MEASURE_CPUCLK)
+#if !defined(CONFIG_8xx_CPUCLK_DEFAULT) || defined(CFG_MEASURE_CPUCLK) || defined(DEBUG)
#define PITC_SHIFT 16
#define PITR_SHIFT 16