projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04feb57
)
powerpc/mpc85xx: set clock-frequency for T4/B4 clockgen node
author
Tang Yuantian
<Yuantian.Tang@freescale.com>
Thu, 28 Feb 2013 23:24:34 +0000
(23:24 +0000)
committer
Andy Fleming
<afleming@freescale.com>
Thu, 2 May 2013 21:56:43 +0000
(16:56 -0500)
For T4/B4, the clockgen node compatible string is updated to version 2.
Add clock-frequency setting for this new version.
Signed-off-by: Tang Yuantian <Yuantian.Tang@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
arch/powerpc/cpu/mpc85xx/fdt.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/cpu/mpc85xx/fdt.c
b/arch/powerpc/cpu/mpc85xx/fdt.c
index 6f8d09ecc464c8e9a541ab9c50458c8c609a0241..288f7b28603641470d2464d8bea4f9397dd6685f 100644
(file)
--- a/
arch/powerpc/cpu/mpc85xx/fdt.c
+++ b/
arch/powerpc/cpu/mpc85xx/fdt.c
@@
-663,6
+663,8
@@
void ft_cpu_setup(void *blob, bd_t *bd)
#ifdef CONFIG_FSL_CORENET
do_fixup_by_compat_u32(blob, "fsl,qoriq-clockgen-1.0",
"clock-frequency", CONFIG_SYS_CLK_FREQ, 1);
+ do_fixup_by_compat_u32(blob, "fsl,qoriq-clockgen-2",
+ "clock-frequency", CONFIG_SYS_CLK_FREQ, 1);
do_fixup_by_compat_u32(blob, "fsl,mpic",
"clock-frequency", get_bus_freq(0)/2, 1);
#else