On Wed, Mar 19, 2008 at 09:05:27AM -0500, Jon Loeliger wrote:
> Tsi-Chung Liew wrote:
>
> > + /*
> > + * FEC fix for MCF5275, FEC unable to initial transmit data packet.
> > + * A nop will ensure the descriptor polling active completed.
> > + */
> > +#ifdef CONFIG_M5275
> > + __asm__ ("nop");
> > +#endif
> > +
> > #ifdef CFG_UNIFY_CACHE
> > icache_invalid();
> > #endif
>
> At the risk of being very picky, I think this should be
> written to have the comment inside the #ifdef so that
> the code and comment are not accidentally separated.
At the risk of being somewhat less picky, I think there should be more
explanation of why a nop solves anything in a robust manner.
-Scott
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
U-Boot-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/u-boot-users