From: Wolfgang Denk Date: Fri, 12 Aug 2005 20:32:29 +0000 (+0200) Subject: measure_gclk() is needed when DEBUG is enabled X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4d302d69c83f7a09239c6575bc6cd37f1a4c77ae;p=project%2Fbcm63xx%2Fu-boot.git measure_gclk() is needed when DEBUG is enabled Patch by Bryan O'Donoghue, 25 Apr 2005 --- diff --git a/CHANGELOG b/CHANGELOG index 1325ffeb5e..a8db4a8c7d 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -2,6 +2,9 @@ Changes for U-Boot 1.1.3: ====================================================================== +* measure_gclk() is needed when DEBUG is enabled + Patch by Bryan O'Donoghue, 25 Apr 2005 + * Add UPD-Checksum code, fix problem in net.c (return instead of break) Patch by Reinhard Arlt, 12 Aug 2005 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 #include -#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