[U-Boot-Users] [PATCH] [MPC52xx] Use IPB bus frequency for SOC peripherals
Grant Likely
grant.likely at secretlab.ca
Mon Nov 6 22:36:35 CET 2006
On 11/6/06, Wolfgang Denk <wd at denx.de> wrote:
> In message <1162846858442-git-send-email-grant.likely at secretlab.ca> you wrote:
> > The soc node of the mpc52xx needs to be loaded with the IPB bus frequency,
> > not the XLB frequency.
> ...
>
> > p = ft_get_prop(blob, "/cpus/" OF_CPU "/bus-frequency", &len);
> > if (p != NULL)
> > - *p = cpu_to_be32(clock);
> > + *p = cpu_to_be32(bd->bi_busfreq);
>
> "/bus-frequency" ==> bi_busfreq. OK.
/cpus/mpc5200 at 0/bus-frequency ==> bi_busfreq
>
> > p = ft_get_prop(blob, "/" OF_SOC "/bus-frequency", &len);
> > if (p != NULL)
> > - *p = cpu_to_be32(clock);
> > + *p = cpu_to_be32(bd->bi_ipbfreq);
>
> "/bus-frequency" ==> bi_ipbfreq. ???
/soc5200 at f0000000/bus-frequency ==> bi_ipbfreq
They are different busses, but 'bus-frequency' is kind of a standard name
BTW, I've got ACKs from jdl on two of the previous patches. Are you
cool to commit them?
Thanks,
g.
--
Grant Likely, B.Sc. P.Eng.
Secret Lab Technologies Ltd.
grant.likely at secretlab.ca
(403) 399-0195
More information about the U-Boot
mailing list