]> git.sur5r.net Git - u-boot/commitdiff
arch: powerpc: Remove unused dts frequency fixup for lbc_clk
authorPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
Fri, 30 Sep 2016 08:57:15 +0000 (14:27 +0530)
committerYork Sun <york.sun@nxp.com>
Fri, 14 Oct 2016 17:23:11 +0000 (10:23 -0700)
lbc_clk is used to fixup dts as "bus frequency".
It is not being used by Linux IFC and eLBC driver.

So remove unused "bus frqeuency" fix-up of devicre tree.

Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
arch/powerpc/cpu/mpc85xx/fdt.c
arch/powerpc/cpu/mpc86xx/fdt.c

index ced216c6806b9a304e79ba67ed5190a09480baf2..047c972ac78e8855e09c56eebe36289de0458a37 100644 (file)
@@ -626,10 +626,6 @@ void ft_cpu_setup(void *blob, bd_t *bd)
        do_fixup_by_prop_u32(blob, "device_type", "soc", 4,
                "bus-frequency", bd->bi_busfreq, 1);
 
-       do_fixup_by_compat_u32(blob, "fsl,pq3-localbus",
-               "bus-frequency", gd->arch.lbc_clk, 1);
-       do_fixup_by_compat_u32(blob, "fsl,elbc",
-               "bus-frequency", gd->arch.lbc_clk, 1);
 #ifdef CONFIG_QE
        ft_qe_setup(blob);
        ft_fixup_qe_snum(blob);
index dd99155a28d5d427310172b0d351717346b23080..5f9ad6b0b6d44a3a1df97457b021e44c7101339d 100644 (file)
@@ -30,13 +30,6 @@ void ft_cpu_setup(void *blob, bd_t *bd)
        do_fixup_by_prop_u32(blob, "device_type", "soc", 4,
                             "bus-frequency", bd->bi_busfreq, 1);
 
-#if defined(CONFIG_MPC8641)
-       do_fixup_by_compat_u32(blob, "fsl,mpc8641-localbus",
-                              "bus-frequency", gd->arch.lbc_clk, 1);
-#endif
-       do_fixup_by_compat_u32(blob, "fsl,elbc",
-                              "bus-frequency", gd->arch.lbc_clk, 1);
-
        fdt_fixup_memory(blob, (u64)bd->bi_memstart, (u64)bd->bi_memsize);
 
 #if defined(CONFIG_HAS_ETH0) || defined(CONFIG_HAS_ETH1) \