[U-Boot-Users] [PATCH] [MPC52xx] Use IPB bus frequency for SOC peripherals

Wolfgang Denk wd at denx.de
Mon Nov 6 22:20:07 CET 2006


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.

>  	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. ???

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
You see but you do not observe.
Sir Arthur Conan Doyle, in "The Memoirs of Sherlock Holmes"




More information about the U-Boot mailing list