TQM885D: use calculated cpuclk instead of measuring it
authorMartin Krause <martin.krause@tqs.de>
Wed, 26 Sep 2007 15:55:56 +0000 (17:55 +0200)
committerWolfgang Denk <wd@denx.de>
Thu, 27 Dec 2007 00:59:42 +0000 (01:59 +0100)
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>
include/configs/TQM885D.h

index a8fbbfb..dd26d54 100644 (file)
                                                /* (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   */