Hi Ralf, Based on the feedback from Toshiba, the TX4927 processor can support different speeds. Attached patch takes care of that. If you find this approach reasonable, can you please check it in Thanks Manish Lachwani
Source: MontaVista Software, Inc. | http://www.mvista.com | Manish Lachwani <mlachwani@xxxxxxxxxx> MR: 9936 Type: Enhancement Disposition: Submitted to linux-mips.org Keywords: Signed-off-by: Manish Lachwani <mlachwani@xxxxxxxxxx> Description: Based on suggestion from Toshiba, TX4927 can operate at different speeds Index: linux-2.6.10/arch/mips/Kconfig =================================================================== --- linux-2.6.10.orig/arch/mips/Kconfig +++ linux-2.6.10/arch/mips/Kconfig @@ -901,6 +901,14 @@ This Toshiba board is based on the TX4927 processor. Say Y here to support this machine type +config TOSHIBA_TX4927_CPU_SPEED + int "CPU speed of the TX4927 processor (MHz)" + depends on TOSHIBA_RBTX4927 + default 200 + help + This sets the speed for the TX4927 processor. The default speed + is 200 MHz. + config TOSHIBA_FPCIB0 bool "FPCIB0 Backplane Support" depends on TOSHIBA_RBTX4927 Index: linux-2.6.10/arch/mips/tx4927/toshiba_rbtx4927/toshiba_rbtx4927_setup.c =================================================================== --- linux-2.6.10.orig/arch/mips/tx4927/toshiba_rbtx4927/toshiba_rbtx4927_setup.c +++ linux-2.6.10/arch/mips/tx4927/toshiba_rbtx4927/toshiba_rbtx4927_setup.c @@ -1008,7 +1008,11 @@ mips_hpt_frequency, mips_hpt_frequency / 1000000); #else - mips_hpt_frequency = 100000000; + /* + * Default TX4927 processor speed is 200 MHz. However, it + * can be configured by the user + */ + mips_hpt_frequency = (CONFIG_TOSHIBA_TX4927_CPU_SPEED * 1000000) / 2; #endif TOSHIBA_RBTX4927_SETUP_DPRINTK(TOSHIBA_RBTX4927_SETUP_TIME_INIT, "+\n");