
16 Nov
2006
16 Nov
'06
9:45 a.m.
Wolfgang Denk wrote:
In message 1162846858442-git-send-email-grant.likely@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.
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. ???
FWIW, Looks good to me and it's a requirement for the new arch/powerpc that's coming soon.
Signed-off-by: Sylvain Munaut tnt@246tNt.com
Sylvain