Skip to content

Commit

Permalink
Add QE brg freq and correct qe bus freq fdt update code
Browse files Browse the repository at this point in the history
Signed-off-by: Kim Phillips <[email protected]>
Signed-off-by: Andy Fleming <[email protected]>
  • Loading branch information
kimphill authored and Andrew Fleming-AFLEMING committed Jan 9, 2008
1 parent 890dfef commit 17a41e4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cpu/mpc85xx/fdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 17a41e4

Please sign in to comment.