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

Marek Vasut marek.vasut at gmail.com
Tue Nov 22 15:07:32 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.

I mean in u-boot, it seems weird for the CPU to be unable to tell you how fast 
it runs.

M


More information about the U-Boot mailing list