Skip to content
Snippets Groups Projects
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

parent 890dfef0
No related branches found
No related tags found
No related merge requests found
...@@ -43,8 +43,10 @@ void ft_cpu_setup(void *blob, bd_t *bd) ...@@ -43,8 +43,10 @@ void ft_cpu_setup(void *blob, bd_t *bd)
do_fixup_by_prop_u32(blob, "device_type", "soc", 4, do_fixup_by_prop_u32(blob, "device_type", "soc", 4,
"bus-frequency", bd->bi_busfreq, 1); "bus-frequency", bd->bi_busfreq, 1);
#ifdef CONFIG_QE #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); "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); fdt_fixup_qe_firmware(blob);
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment