diff options
Diffstat (limited to 'arch/powerpc/boot/cuboot-8xx.c')
-rw-r--r-- | arch/powerpc/boot/cuboot-8xx.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/arch/powerpc/boot/cuboot-8xx.c b/arch/powerpc/boot/cuboot-8xx.c index 88ed84015a8b..0e82015a5f95 100644 --- a/arch/powerpc/boot/cuboot-8xx.c +++ b/arch/powerpc/boot/cuboot-8xx.c | |||
@@ -29,10 +29,12 @@ static void platform_fixups(void) | |||
29 | dt_fixup_cpu_clocks(bd.bi_intfreq, bd.bi_busfreq / 16, bd.bi_busfreq); | 29 | dt_fixup_cpu_clocks(bd.bi_intfreq, bd.bi_busfreq / 16, bd.bi_busfreq); |
30 | 30 | ||
31 | node = finddevice("/soc/cpm"); | 31 | node = finddevice("/soc/cpm"); |
32 | if (node) { | 32 | if (node) |
33 | setprop(node, "clock-frequency", &bd.bi_busfreq, 4); | 33 | setprop(node, "clock-frequency", &bd.bi_busfreq, 4); |
34 | setprop(node, "fsl,brg-frequency", &bd.bi_busfreq, 4); | 34 | |
35 | } | 35 | node = finddevice("/soc/cpm/brg"); |
36 | if (node) | ||
37 | setprop(node, "clock-frequency", &bd.bi_busfreq, 4); | ||
36 | } | 38 | } |
37 | 39 | ||
38 | void platform_init(unsigned long r3, unsigned long r4, unsigned long r5, | 40 | void platform_init(unsigned long r3, unsigned long r4, unsigned long r5, |