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

Sergej Stepanov Sergej.Stepanov at ids.de
Wed Oct 24 09:28:21 CEST 2007


Am Dienstag, den 23.10.2007, 14:34 -0500 schrieb Scott Wood:
> 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.
> 
I will do it.
But before i have the question: could somebody tell me, are there more other things to fix up?

Thanks.
Sergej.





More information about the U-Boot mailing list