Commit 6bfeccdc110a4f92e44d51d67b274977392cbf46

Authored by Zang Roy-r61911
Committed by Paul Mackerras
1 parent f3e5d2bf52

[POWERPC] kernel: Remove loops_per_jiffy code for 7448HPC2 platforms

Remove loops_per_jiffy early initialization code for 7448HPC2 platforms.
Since udelay no longer uses loops_per_jiffy it is not necessary to
initialize it early.

Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>

Showing 1 changed file with 0 additions and 12 deletions Side-by-side Diff

arch/powerpc/platforms/embedded6xx/mpc7448_hpc2.c
... ... @@ -72,22 +72,10 @@
72 72  
73 73 static void __init mpc7448_hpc2_setup_arch(void)
74 74 {
75   - struct device_node *cpu;
76 75 struct device_node *np;
77 76 if (ppc_md.progress)
78 77 ppc_md.progress("mpc7448_hpc2_setup_arch():set_bridge", 0);
79 78  
80   - cpu = of_find_node_by_type(NULL, "cpu");
81   - if (cpu != 0) {
82   - const unsigned int *fp;
83   -
84   - fp = of_get_property(cpu, "clock-frequency", NULL);
85   - if (fp != 0)
86   - loops_per_jiffy = *fp / HZ;
87   - else
88   - loops_per_jiffy = 50000000 / HZ;
89   - of_node_put(cpu);
90   - }
91 79 tsi108_csr_vir_base = get_vir_csrbase();
92 80  
93 81 /* setup PCI host bridge */