From ed9958453b57d3d98bd4db5e297c244c74a8221f Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Tue, 15 Jul 2008 18:44:34 +0100 Subject: [PATCH] --- yaml --- r: 101447 b: refs/heads/master c: 6da5e30b879394f0c55b2bbf3353d797097c8f0f h: refs/heads/master i: 101445: fe832aef31c2650597554121fc53d4587131e2e2 101443: cbf26e719be7c66df198f4862bbfbe939e986127 101439: 488d0786758342d31cd68045108e209d28a228fa v: v3 --- [refs] | 2 +- trunk/arch/mips/mips-boards/generic/time.c | 13 ------------- 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/[refs] b/[refs] index bb1db0f712bf..810b8bc34f35 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 1398ddb2ebdb41e8efe6ba42505fd452704c8405 +refs/heads/master: 6da5e30b879394f0c55b2bbf3353d797097c8f0f diff --git a/trunk/arch/mips/mips-boards/generic/time.c b/trunk/arch/mips/mips-boards/generic/time.c index 637897e8e4fb..744dbfc6e484 100644 --- a/trunk/arch/mips/mips-boards/generic/time.c +++ b/trunk/arch/mips/mips-boards/generic/time.c @@ -70,19 +70,6 @@ static unsigned int __init estimate_cpu_frequency(void) unsigned int prid = read_c0_prid() & 0xffff00; unsigned int count; -#ifdef CONFIG_MIPS_SIM - /* - * The SEAD board doesn't have a real time clock, so we can't - * really calculate the timer frequency - * For now we hardwire the SEAD board frequency to 12MHz. - */ - - if ((prid == (PRID_COMP_MIPS | PRID_IMP_20KC)) || - (prid == (PRID_COMP_MIPS | PRID_IMP_25KF))) - count = 12000000; - else - count = 6000000; -#endif #ifdef CONFIG_MIPS_MALTA unsigned long flags; unsigned int start;