浏览代码

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>
Martin Krause 17 年之前
父节点
当前提交
b988b8cd44
共有 1 个文件被更改,包括 0 次插入7 次删除
  1. 0 7
      include/configs/TQM885D.h

+ 0 - 7
include/configs/TQM885D.h

@@ -46,13 +46,6 @@
 						/* (it will be used if there is no	*/
 						/* (it will be used if there is no	*/
 						/* 'cpuclk' variable with valid value)	*/
 						/* '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_8xx_CONS_SMC1	1	/* Console is on SMC1		*/
 
 
 #define CONFIG_BAUDRATE		115200	/* console baudrate = 115kbps	*/
 #define CONFIG_BAUDRATE		115200	/* console baudrate = 115kbps	*/