summaryrefslogtreecommitdiff
path: root/cpu/mpc85xx
diff options
context:
space:
mode:
authorKim Phillips <kim.phillips@freescale.com>2008-01-09 16:56:54 -0600
committerAndrew Fleming-AFLEMING <afleming@freescale.com>2008-01-09 16:56:54 -0600
commit17a41e4492121ccf9fa2c10c2cb1a6d1c18d74f7 (patch)
tree4703a88fc5f99af46609c083b9cb696bbcc2be8a /cpu/mpc85xx
parent890dfef06c2d169a3356359596890754dfb8ee1c (diff)
downloadu-boot-imx-17a41e4492121ccf9fa2c10c2cb1a6d1c18d74f7.zip
u-boot-imx-17a41e4492121ccf9fa2c10c2cb1a6d1c18d74f7.tar.gz
u-boot-imx-17a41e4492121ccf9fa2c10c2cb1a6d1c18d74f7.tar.bz2
Add QE brg freq and correct qe bus freq fdt update code
Signed-off-by: Kim Phillips <kim.phillips@freescale.com> Signed-off-by: Andy Fleming <afleming@freescale.com>
Diffstat (limited to 'cpu/mpc85xx')
-rw-r--r--cpu/mpc85xx/fdt.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/cpu/mpc85xx/fdt.c b/cpu/mpc85xx/fdt.c
index 0812c89..0ce17e7 100644
--- a/cpu/mpc85xx/fdt.c
+++ b/cpu/mpc85xx/fdt.c
@@ -43,8 +43,10 @@ void ft_cpu_setup(void *blob, bd_t *bd)
do_fixup_by_prop_u32(blob, "device_type", "soc", 4,
"bus-frequency", bd->bi_busfreq, 1);
#ifdef CONFIG_QE
- do_fixup_by_prop_u32(blob, "device_type", "soc", 4,
+ do_fixup_by_prop_u32(blob, "device_type", "qe", 4,
"bus-frequency", bd->bi_busfreq, 1);
+ do_fixup_by_prop_u32(blob, "device_type", "qe", 4,
+ "brg-frequency", bd->bi_busfreq / 2, 1);
fdt_fixup_qe_firmware(blob);
#endif