From: Martin Krause Date: Wed, 26 Sep 2007 15:55:56 +0000 (+0200) Subject: TQM885D: use calculated cpuclk instead of measuring it X-Git-Tag: v1.3.2-rc1~105^2~4 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b988b8cd443989be65161888eea0127ad03f846f;p=u-boot TQM885D: use calculated cpuclk instead of measuring it On the TQM885D the measurement of cpuclk with the PIT reference timer ist not necessary. Since all module variants use the same external 10 MHz oscillator, the cpuclk only depends on the PLL configuration - which is readable by software. Signed-off-by: Martin Krause --- diff --git a/include/configs/TQM885D.h b/include/configs/TQM885D.h index a8fbbfbbf8..dd26d54262 100644 --- a/include/configs/TQM885D.h +++ b/include/configs/TQM885D.h @@ -46,13 +46,6 @@ /* (it will be used if there is no */ /* 'cpuclk' variable with valid value) */ -#define CFG_MEASURE_CPUCLK /* Measure real cpu clock */ - /* (function measure_gclk() */ - /* will be called) */ -#ifdef CFG_MEASURE_CPUCLK -#define CFG_8XX_XIN 10000000 /* measure_gclk() needs this */ -#endif - #define CONFIG_8xx_CONS_SMC1 1 /* Console is on SMC1 */ #define CONFIG_BAUDRATE 115200 /* console baudrate = 115kbps */