On Wed, 2014-08-13 at 13:20 +0200, Stefan Agner wrote:
> IMHO we should use the raw_writel only and "hand optimize" for functions
> which are used often. For the initialization/configuration functions,
> there is little value to save some register access.

raw_writel() is itself something that should only be used for
hand-optimized sections.  For non-performance-critical code you should
use normal writel() so that you don't need to worry about manually
adding I/O barriers.

-Scott


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

Reply via email to