Commit 17a41e44 authored by Kim Phillips's avatar Kim Phillips Committed by Andrew Fleming-AFLEMING
Browse files

Add QE brg freq and correct qe bus freq fdt update code


Signed-off-by: default avatarKim Phillips <kim.phillips@freescale.com>
Signed-off-by: default avatarAndy Fleming <afleming@freescale.com>
parent 890dfef0
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment