[U-Boot] [PATCH 2/2] mpc8260: Fill in brg's clock-frequency in device tree.
Scott Wood
scottwood at freescale.com
Thu Apr 2 23:10:36 CEST 2009
Signed-off-by: Scott Wood <scottwood at freescale.com>
---
cpu/mpc8260/cpu.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/cpu/mpc8260/cpu.c b/cpu/mpc8260/cpu.c
index 1b034cd..d4622ca 100644
--- a/cpu/mpc8260/cpu.c
+++ b/cpu/mpc8260/cpu.c
@@ -311,6 +311,9 @@ void ft_cpu_setup (void *blob, bd_t *bd)
fdt_fixup_ethernet(blob);
#endif
+ do_fixup_by_compat_u32(blob, "fsl,cpm2-brg",
+ "clock-frequency", bd->bi_brgfreq, 1);
+
do_fixup_by_path_u32(blob, cpu_path, "bus-frequency", bd->bi_busfreq, 1);
do_fixup_by_path_u32(blob, cpu_path, "timebase-frequency", OF_TBCLK, 1);
do_fixup_by_path_u32(blob, cpu_path, "clock-frequency", bd->bi_intfreq, 1);
--
1.5.6.rc1.6.gc53ad
More information about the U-Boot
mailing list