mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-02-22 20:24:27 +01:00
powerpc, 8xx: Properly set CPM frequency in the device tree
For processors whose core runs at twice the bus frequency, the fallback frequency calculation in Linux provides a wrong result. Therefore, U-boot needs to pass the correct value. Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Reviewed-by: Heiko Schocher <hs@denx.de>
This commit is contained in:
parent
70fd071001
commit
6f65e75a8a
1 changed files with 2 additions and 0 deletions
|
|
@ -20,6 +20,8 @@ void ft_cpu_setup(void *blob, bd_t *bd)
|
|||
"bus-frequency", bd->bi_busfreq, 1);
|
||||
do_fixup_by_prop_u32(blob, "device_type", "cpu", 4,
|
||||
"clock-frequency", bd->bi_intfreq, 1);
|
||||
do_fixup_by_compat_u32(blob, "fsl,pq1-soc", "clock-frequency",
|
||||
bd->bi_intfreq, 1);
|
||||
do_fixup_by_compat_u32(blob, "fsl,cpm-brg", "clock-frequency",
|
||||
gd->arch.brg_clk, 1);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue