From 75d1ea7f6aa00c280c495a1ff6502f091c4244fe Mon Sep 17 00:00:00 2001 From: wdenk Date: Sat, 31 Jan 2004 20:06:54 +0000 Subject: Fix variable CPU clock for MPC859/866 systems for low CPU clocks --- include/configs/TQM866M.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'include/configs') diff --git a/include/configs/TQM866M.h b/include/configs/TQM866M.h index a5a759f..3aabfe6 100644 --- a/include/configs/TQM866M.h +++ b/include/configs/TQM866M.h @@ -37,12 +37,19 @@ #define CONFIG_TQM866M 1 /* ...on a TQM8xxM module */ #define CFG_866_OSCCLK 10000000 /* 10 MHz - PLL input clock */ -#define CFG_866_CPUCLK_MIN 10000000 /* 10 MHz - CPU minimum clock */ +#define CFG_866_CPUCLK_MIN 15000000 /* 15 MHz - CPU minimum clock */ #define CFG_866_CPUCLK_MAX 133000000 /* 133 MHz - CPU maximum clock */ #define CFG_866_CPUCLK_DEFAULT 50000000 /* 50 MHz - CPU default clock */ /* (it will be used if there is no */ /* 'cpuclk' variable with valid value) */ +#undef 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 */ -- cgit v1.1