Accessing flash directly from User Space [SOLVED]

Micha Nelissen micha at neli.hopto.org
Sat Oct 31 02:48:11 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.

Micha


More information about the Linuxppc-dev mailing list