Wolfgang,

On Fri, Oct 14, 2011 at 09:58:44PM +0200, Wolfgang Denk wrote:
> Dear Jason,
> 
> In message <20111014131245.gf7...@titan.lakedaemon.net> you wrote:
> > 
> >     1.) checkpatch.pl complained about volatile in source.c:312.  This is
> >        a register we bitbang in a loop and we don't want the compiler
> >        optimizing it out.
> 
> This would, in almost all cases, trigger a NAK due to the fact that
> device register accesses should be done through I/O accesors, and
> never through volatile pointers.

very true, I was attempting to give a generic example.  Sorry if that
led to any confusion.

thx,

Jason.
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to