mpc85xx: add qe brg freq and correct qe bus freq fdt update code
PATCH 1/1 mpc85xx: add qe brg freq and correct qe bus freq fdt update code
Signed-off-by Kim Phillips <[email protected]>
--- cpu/mpc85xx/fdt.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)
cpu/mpc85xx/fdt.c +3 -1
@@ -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 );#endif #ifdef CFG_NS16550
Signature · 1 line
1.5.4.rc0.36.g7680
Andy Fleming
AppliedPATCH 1/1 mpc85xx: add qe brg freq and correct qe bus freq fdt update code