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

Stefan Kristiansson
2011-11-22T07:17:07Z

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