[U-Boot-Users] [PATCH 1/2] add ft_cpu_setup(..) on mpc8260

Scott Wood scottwood at freescale.com
Tue Oct 23 21:34:06 CEST 2007


On Wed, Oct 17, 2007 at 09:12:48AM +0200, Sergej Stepanov wrote:
> +void ft_cpu_setup (void *blob, bd_t *bd)
> +{
> +	char * cpu_path = "/cpus/" OF_CPU;
> +
> +	do_fixup_u32(blob, cpu_path, "bus-frequency", bd->bi_busfreq, 1);
> +	do_fixup_u32(blob, cpu_path, "timebase-frequency", OF_TBCLK, 1);
> +	do_fixup_u32(blob, cpu_path, "clock-frequency", bd->bi_intfreq, 1);
> +}

You should also fix up /soc/cpm/brg/clock-frequency.

-Scott




More information about the U-Boot mailing list