]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - cpu/mpc8xx/speed.c
measure_gclk() is needed when DEBUG is enabled
[karo-tx-uboot.git] / cpu / mpc8xx / speed.c
index 95003ed9c114e0c39045f83220554c3b0718ea7c..f03831617c1f24e316e49e182498e9c0c466e0ec 100644 (file)
@@ -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