[U-Boot-Users] cfi_flash.c and lost volatile qualifier

Scott Wood scottwood at freescale.com
Wed Apr 30 17:21:41 CEST 2008


On Wed, Apr 30, 2008 at 05:11:09PM +0200, Joakim Tjernlund wrote:
> Yet the in_bex()/out_bex() functions in PowerPC linux uses sync and all
> SOC drivers are encouraged to use them. What a waste :(

sync is needed in some of the cases, to sync I/O accesses with DMA buffer
accesses.  Ideally, we could trust the driver writers to put
synchronization in where needed, but it seems Linux has too much x86
heritage for that.

There should at least be raw alternatives, though...

-Scott




More information about the U-Boot mailing list