aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/83xx/mpc832x_mds.c
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2007-02-17 10:42:18 -0500
committerKumar Gala <galak@kernel.crashing.org>2007-02-17 10:42:18 -0500
commit7c90c800d9a6c6393fa610313b6ed56ac786da93 (patch)
tree584d9dd1dc3c8d8e32485f23c3457643668365e4 /arch/powerpc/platforms/83xx/mpc832x_mds.c
parent1eccad01acaf7659abdcc9a72408456558bb4fb0 (diff)
[POWERPC] 83xx: use default value of loops_per_jiffy
Use the default value setup by initialization of loops_per_jiffy, its close enough for 83xx and will get fixed up by calibrate_delay(). Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms/83xx/mpc832x_mds.c')
-rw-r--r--arch/powerpc/platforms/83xx/mpc832x_mds.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/powerpc/platforms/83xx/mpc832x_mds.c b/arch/powerpc/platforms/83xx/mpc832x_mds.c
index 71d9c0f17e47..980d45c6bd35 100644
--- a/arch/powerpc/platforms/83xx/mpc832x_mds.c
+++ b/arch/powerpc/platforms/83xx/mpc832x_mds.c
@@ -69,17 +69,6 @@ static void __init mpc832x_sys_setup_arch(void)
69 if (ppc_md.progress) 69 if (ppc_md.progress)
70 ppc_md.progress("mpc832x_sys_setup_arch()", 0); 70 ppc_md.progress("mpc832x_sys_setup_arch()", 0);
71 71
72 np = of_find_node_by_type(NULL, "cpu");
73 if (np != 0) {
74 unsigned int *fp =
75 (int *)get_property(np, "clock-frequency", NULL);
76 if (fp != 0)
77 loops_per_jiffy = *fp / HZ;
78 else
79 loops_per_jiffy = 50000000 / HZ;
80 of_node_put(np);
81 }
82
83 /* Map BCSR area */ 72 /* Map BCSR area */
84 np = of_find_node_by_name(NULL, "bcsr"); 73 np = of_find_node_by_name(NULL, "bcsr");
85 if (np != 0) { 74 if (np != 0) {