]> git.sur5r.net Git - u-boot/commitdiff
arm: ls102xa: fixed a bus frequency setting error
authorTang Yuantian <Yuantian.Tang@freescale.com>
Tue, 21 Oct 2014 05:51:58 +0000 (13:51 +0800)
committerYork Sun <yorksun@freescale.com>
Thu, 11 Dec 2014 17:35:09 +0000 (09:35 -0800)
The bus frequency in SOC node should be clock frequency of platform.
That is not true if it is devided by 2.

Signed-off-by: Tang Yuantian <Yuantian.Tang@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
arch/arm/cpu/armv7/ls102xa/fdt.c

index 4ce38086f4e96245bdb92b9f7c17e70f50997458..989780d27348d54542a236e095f99a166e47545c 100644 (file)
@@ -91,7 +91,7 @@ void ft_cpu_setup(void *blob, bd_t *bd)
        }
 
        do_fixup_by_prop_u32(blob, "device_type", "soc",
-                            4, "bus-frequency", busclk / 2, 1);
+                            4, "bus-frequency", busclk, 1);
 
        ft_fixup_enet_phy_connect_type(blob);