powerpc, 8xx: Properly set CPM frequency in the device tree
authorChristophe Leroy <christophe.leroy@c-s.fr>
Thu, 6 Jul 2017 08:33:19 +0000 (10:33 +0200)
committerTom Rini <trini@konsulko.com>
Sat, 8 Jul 2017 19:55:37 +0000 (15:55 -0400)
commit6f65e75a8a80e6317729f232f135ca2cc5b99d4e
tree70c0659adceb5cd6c26207cba02bd22104d2bf7e
parent70fd071001eafa60ed2ac8a69cfc5600c59981a5
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>
arch/powerpc/cpu/mpc8xx/fdt.c