|
@@ -265,7 +265,6 @@ device_initcall(mpc85xx_cds_8259_attach);
|
|
|
*/
|
|
|
static void __init mpc85xx_cds_setup_arch(void)
|
|
|
{
|
|
|
- struct device_node *cpu;
|
|
|
#ifdef CONFIG_PCI
|
|
|
struct device_node *np;
|
|
|
#endif
|
|
@@ -273,18 +272,6 @@ static void __init mpc85xx_cds_setup_arch(void)
|
|
|
if (ppc_md.progress)
|
|
|
ppc_md.progress("mpc85xx_cds_setup_arch()", 0);
|
|
|
|
|
|
- cpu = of_find_node_by_type(NULL, "cpu");
|
|
|
- if (cpu != 0) {
|
|
|
- const unsigned int *fp;
|
|
|
-
|
|
|
- fp = of_get_property(cpu, "clock-frequency", NULL);
|
|
|
- if (fp != 0)
|
|
|
- loops_per_jiffy = *fp / HZ;
|
|
|
- else
|
|
|
- loops_per_jiffy = 500000000 / HZ;
|
|
|
- of_node_put(cpu);
|
|
|
- }
|
|
|
-
|
|
|
cadmus = ioremap(CADMUS_BASE, CADMUS_SIZE);
|
|
|
cds_pci_slot = ((cadmus[CM_CSR] >> 6) & 0x3) + 1;
|
|
|
|