[U-Boot] [PATCH 3/4] mtd: nand: add Freescale NFC driver

Scott Wood scottwood at freescale.com
Wed Aug 13 22:32:18 CEST 2014


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




More information about the U-Boot mailing list