Removed overclock on bootup. It causes more issues than it's worth since we're IO bound anyway.

This commit is contained in:
Jon Benson 2010-12-16 17:46:06 +11:00
parent 3bde3f9396
commit b02686cbac

View File

@ -603,26 +603,10 @@ static void __init acpuclk_init(void)
*/
speed = acpu_freq_tbl;
for (;;) {
#ifdef CONFIG_HTCLEO_EXOVERCLOCK
if (speed->acpu_khz == 998400)
break;
#elif CONFIG_HTCLEO_OVERCLOCK
if (speed->acpu_khz == 768000)
break;
#else
if (speed->acpu_khz == 768000)
break;
#endif
#ifdef CONFIG_HTCLEO_EXOVERCLOCK
if (speed->acpu_khz == 0) {
pr_err("acpuclk_init: cannot find 998.4MHz\n");
#elif CONFIG_HTCLEO_OVERCLOCK
if (speed->acpu_khz == 0) {
pr_err("acpuclk_init: cannot find 768MHz\n");
#else
if (speed->acpu_khz == 0) {
pr_err("acpuclk_init: cannot find 768MHz\n");
#endif
BUG();
}
speed++;