aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2008-07-15 13:44:34 -0400
committerRalf Baechle <ralf@linux-mips.org>2008-07-15 13:44:34 -0400
commit6da5e30b879394f0c55b2bbf3353d797097c8f0f (patch)
tree217b9589a48a90cecd6fa65dd99e01df3b717c84 /arch/mips
parent1398ddb2ebdb41e8efe6ba42505fd452704c8405 (diff)
[MIPS] Remove impossible ifdef and code wrapped by it.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/mips-boards/generic/time.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/arch/mips/mips-boards/generic/time.c b/arch/mips/mips-boards/generic/time.c
index 637897e8e4fb..744dbfc6e484 100644
--- a/arch/mips/mips-boards/generic/time.c
+++ b/arch/mips/mips-boards/generic/time.c
@@ -70,19 +70,6 @@ static unsigned int __init estimate_cpu_frequency(void)
70 unsigned int prid = read_c0_prid() & 0xffff00; 70 unsigned int prid = read_c0_prid() & 0xffff00;
71 unsigned int count; 71 unsigned int count;
72 72
73#ifdef CONFIG_MIPS_SIM
74 /*
75 * The SEAD board doesn't have a real time clock, so we can't
76 * really calculate the timer frequency
77 * For now we hardwire the SEAD board frequency to 12MHz.
78 */
79
80 if ((prid == (PRID_COMP_MIPS | PRID_IMP_20KC)) ||
81 (prid == (PRID_COMP_MIPS | PRID_IMP_25KF)))
82 count = 12000000;
83 else
84 count = 6000000;
85#endif
86#ifdef CONFIG_MIPS_MALTA 73#ifdef CONFIG_MIPS_MALTA
87 unsigned long flags; 74 unsigned long flags;
88 unsigned int start; 75 unsigned int start;