mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-07-09 04:36:16 +09:00
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>
This commit is contained in:
parent
890dfef06c
commit
17a41e4492
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user