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 <martin.krause@tqs.de>
This commit is contained in:
Martin Krause 2007-09-26 17:55:56 +02:00 committed by Wolfgang Denk
parent 492c704986
commit b988b8cd44
1 changed files with 0 additions and 7 deletions

View File

@ -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 */