[U-Boot-Users] [PATCH 4/6] TQM885D: use calculated cpuclk instead of measuring it

Martin Krause martin.krause at tqs.de
Fri Oct 5 12:06:02 CEST 2007


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 at tqs.de>
---
 include/configs/TQM885D.h |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/include/configs/TQM885D.h b/include/configs/TQM885D.h
index 3c11da7..95ab1c9 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	*/
-- 
1.5.3.rc6.g1911





More information about the U-Boot mailing list