mpc85xx: add mpic timer clock frequency to avoid boot log warning
authorJohn Crispin <blogic@openwrt.org>
Sun, 22 Feb 2015 08:28:48 +0000 (08:28 +0000)
committerJohn Crispin <blogic@openwrt.org>
Sun, 22 Feb 2015 08:28:48 +0000 (08:28 +0000)
commite579d8a69abc183027b8342e9b8aa37b396e7354
tree74679f1c7f276e968ab2b3dfa0a2f26ae10b6f0a
parent1c6f92db45ba7b467c03bf15249b728400aece52
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]