RE: Accessing flash directly from User Space [SOLVED]
From: Jonathan Haws <hidden>
Date: 2009-10-30 16:46:55
From: Jonathan Haws <hidden>
Date: 2009-10-30 16:46:55
Michael Buesch wrote:quoted
Yes, I think the barrier is wrong. Please try with #define mb() __asm__ __volatile__("eieio\n sync\n" : : :"memory") =20 =20 For uncached memory, eieio should be enough.
I tried eieio alone and it did not work. It needed the above command to ta= ke care of it all.