summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorTang Yuantian <Yuantian.Tang@freescale.com>2014-10-21 13:51:58 +0800
committerYork Sun <yorksun@freescale.com>2014-12-11 09:35:09 -0800
commitb699b01e5cf0f74f123dcc7090df232214dddf93 (patch)
tree04c21d70fb94da45e15c51212e2c465c29cbd9b7 /arch/arm
parent32fdf0e4d82bdca5d64d86330e461e59685f9959 (diff)
downloadu-boot-imx-b699b01e5cf0f74f123dcc7090df232214dddf93.zip
u-boot-imx-b699b01e5cf0f74f123dcc7090df232214dddf93.tar.gz
u-boot-imx-b699b01e5cf0f74f123dcc7090df232214dddf93.tar.bz2
arm: ls102xa: fixed a bus frequency setting error
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>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/cpu/armv7/ls102xa/fdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv7/ls102xa/fdt.c b/arch/arm/cpu/armv7/ls102xa/fdt.c
index 4ce3808..989780d 100644
--- a/arch/arm/cpu/armv7/ls102xa/fdt.c
+++ b/arch/arm/cpu/armv7/ls102xa/fdt.c
@@ -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);