]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Add QE brg freq and correct qe bus freq fdt update code
authorKim Phillips <kim.phillips@freescale.com>
Wed, 9 Jan 2008 22:56:54 +0000 (16:56 -0600)
committerAndrew Fleming-AFLEMING <afleming@freescale.com>
Wed, 9 Jan 2008 22:56:54 +0000 (16:56 -0600)
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
cpu/mpc85xx/fdt.c

index 0812c89a2e50d730b2dfd37d5b2dcee086f82213..0ce17e7f57300e1c15806f5a3a513d3d568069de 100644 (file)
@@ -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