Skip to contentSkip to conversation

arm: ls102xa: fixed a bus frequency setting error

PATCH New Yuantian.Tang at freescale.com 2 participants 2 messages Oct 21, 2014 – Dec 11, 2014 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: ls102xa: fixed a bus frequency setting error

From: Tang Yuantian <[email protected]>

The bus frequency in SOC node should be clock frequency of platform. That is not true if it is devided by 2.

---
 arch/arm/cpu/armv7/ls102xa/fdt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/cpu/armv7/ls102xa/fdt.c +1 -1
index 4ce3808..989780d 100644
@@ -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);
 
Signature · 1 line
2.1.0.27.g96db324
#1 lore raw

PATCH 1/1 arm: ls102xa: fixed a bus frequency setting error

Quoted 10 lines · Yuantian.Tang at freescale.com

From: Tang Yuantian <[email protected]>

The bus frequency in SOC node should be clock frequency of platform. That is not true if it is devided by 2.

---
 arch/arm/cpu/armv7/ls102xa/fdt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to u-boot-fsl-qoriq master, awaiting upstream.

York