[PATCH 09/20] bootwrapper: Declare udelay() in ops.h.

David Gibson david at gibson.dropbear.id.au
Wed Aug 22 11:09:46 EST 2007


On Tue, Aug 21, 2007 at 11:12:08AM -0500, Scott Wood wrote:
> David Gibson wrote:
> > On Mon, Aug 20, 2007 at 12:39:55PM -0500, Scott Wood wrote:
> > 
> >>Declarations in various users are removed.
> >>
> >>Signed-off-by: Scott Wood <scottwood at freescale.com>
> > 
> > 
> > Hrm... it should go in a header, certainly, but I wonder if io.h would
> > be more suitable than the already rather bloated ops.h.
> 
> It's not really I/O either...  Maybe we should make a misc.h to put 
> stuff in that doesn't fit anywhere else and doesn't really warrant its 
> own header file?

It's not I/O, but I believe it's main intended use is for delays to
get I/O timing correct.

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson



More information about the Linuxppc-dev mailing list