mpc85xx: add mpic timer clock frequency to avoid boot log warning
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 22 Feb 2015 08:28:48 +0000 (08:28 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 22 Feb 2015 08:28:48 +0000 (08:28 +0000)
commitd538779c467989cd41dac6092df24b8ab0920211
tree74679f1c7f276e968ab2b3dfa0a2f26ae10b6f0a
parent5d4991a48655439997bbc4fa8a3c4e21bf916b59
mpc85xx: add mpic timer clock frequency to avoid boot log warning

MPIC timers are enabled in the config, however a devicetree clock setting
is missing causing the following error:
/soc@ffe00000/timer@41100: cannot get timer frequency.
/soc@ffe00000/timer@42100: cannot get timer frequency.

This patch adds the missing clock and avoids the error.
It's a functional copy of this code
do_fixup_by_compat_u32(blob, "fsl,mpic",
        "clock-frequency", get_bus_freq(0), 1);
in arch/powerpc/cpu/mpc85xx/fdt.c in the u-boot code.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44501 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/mpc85xx/patches-3.18/142-add-mpic-timer-clock-frequency.patch [new file with mode: 0644]