[U-Boot] [PATCH 24/31] powerpc/mpc85xx: add setting of clock-frequency for mpic node
Wolfgang Denk
wd at denx.de
Fri Mar 22 22:03:24 CET 2013
Dear York Sun,
In message <1363973369-26110-24-git-send-email-yorksun at freescale.com> you wrote:
> From: Wang Dongsheng <dongsheng.wang at freescale.com>
>
> Set the device tree property associated with the mpic source
> frequency. The frequency is used for mpic timer.
> the mpic timer use CCB/2 frequency on freescale corenet platform,
> other freescale platform use CCB frequency.
>
> Signed-off-by: Wang Dongsheng <dongsheng.wang at freescale.com>
> ---
> arch/powerpc/cpu/mpc85xx/fdt.c | 5 +++++
> 1 file changed, 5 insertions(+)
CHECK: Alignment should match open parenthesis
#128: FILE: arch/powerpc/cpu/mpc85xx/fdt.c:669:
+ do_fixup_by_compat_u32(blob, "fsl,mpic",
+ "clock-frequency", get_bus_freq(0)/2, 1);
CHECK: Alignment should match open parenthesis
#131: FILE: arch/powerpc/cpu/mpc85xx/fdt.c:672:
+ do_fixup_by_compat_u32(blob, "fsl,mpic",
+ "clock-frequency", get_bus_freq(0), 1);
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
I came home the other night and tried to open the door with my car
keys...and the building started up. So I took it out for a drive. A
cop pulled me over for speeding. He asked me where I live... "Right
here". - Steven Wright
More information about the U-Boot
mailing list