aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/boot/cuboot-pq2.c
diff options
context:
space:
mode:
authorScott Wood <scottwood@freescale.com>2007-08-29 16:08:40 -0400
committerKumar Gala <galak@kernel.crashing.org>2007-10-03 21:35:43 -0400
commit6d817aa71fddea859ba02d1a0b326da930ce6b50 (patch)
treeb06061acb38cf5592c7a6480b9cd64b76679913c /arch/powerpc/boot/cuboot-pq2.c
parent26f571d7c968dbd30656fc1421eeb0d9088aaad9 (diff)
[POWERPC] CPM: Change from fsl,brg-frequency to brg/clock-frequency
As suggested by David Gibson, now that we have a separate node for the baud rate generators, it's better to use the standard clock-frequency property than a cpm-node-level fsl,brg-frequency property. This patch updates existing places where fsl,brg-frequency is used. Signed-off-by: Scott Wood <scottwood@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/boot/cuboot-pq2.c')
-rw-r--r--arch/powerpc/boot/cuboot-pq2.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/arch/powerpc/boot/cuboot-pq2.c b/arch/powerpc/boot/cuboot-pq2.c
index 8021fd4a43bc..b150bd4f1b73 100644
--- a/arch/powerpc/boot/cuboot-pq2.c
+++ b/arch/powerpc/boot/cuboot-pq2.c
@@ -264,10 +264,12 @@ static void pq2_platform_fixups(void)
264 dt_fixup_cpu_clocks(bd.bi_intfreq, bd.bi_busfreq / 4, bd.bi_busfreq); 264 dt_fixup_cpu_clocks(bd.bi_intfreq, bd.bi_busfreq / 4, bd.bi_busfreq);
265 265
266 node = finddevice("/soc/cpm"); 266 node = finddevice("/soc/cpm");
267 if (node) { 267 if (node)
268 setprop(node, "clock-frequency", &bd.bi_cpmfreq, 4); 268 setprop(node, "clock-frequency", &bd.bi_cpmfreq, 4);
269 setprop(node, "fsl,brg-frequency", &bd.bi_brgfreq, 4); 269
270 } 270 node = finddevice("/soc/cpm/brg");
271 if (node)
272 setprop(node, "clock-frequency", &bd.bi_brgfreq, 4);
271 273
272 update_cs_ranges(); 274 update_cs_ranges();
273 fixup_pci(); 275 fixup_pci();