[U-Boot] [PATCH 3/9] openrisc: Add cpu files

Stefan Kristiansson stefan.kristiansson at saunalahti.fi
Tue Nov 22 08:17:07 CET 2011


On Tue, Nov 22, 2011 at 05:46:41AM +0100, Marek Vasut wrote:
> > On Mon, Nov 21, 2011 at 11:50:17PM +0100, Marek Vasut wrote:
> > > > +	printf("CPU:   OpenRISC-%x00 (rev %d) @ %d MHz\n",
> > > > +		ver, rev, (CONFIG_SYS_CLK_FREQ / 1000000));
> > > 
> > > The CPU won't tell you it's speed ?
> > 
> > Nope.
> 
> That's weird, how do you calibrate delay then, using static setup ?
> 

You mean in Linux? CPU freq is passed in via the device tree.

Stefan


More information about the U-Boot mailing list