Accessing flash directly from User Space [SOLVED]

Jonathan Haws Jonathan.Haws at sdl.usu.edu
Sat Oct 31 03:46:46 EST 2009


> Michael Buesch wrote:
> > Yes, I think the barrier is wrong.
> > Please try with
> >
> > #define mb()	__asm__ __volatile__("eieio\n sync\n" : : :
> "memory")
> 
> 
> For uncached memory, eieio should be enough.

I tried eieio alone and it did not work.  It needed the above command to take care of it all.


More information about the Linuxppc-dev mailing list