[U-Boot] [PATCH V2 3/6] mv_egiga: bugfix: DMA issue fixed using volatile

Albert ARIBAUD albert.aribaud at free.fr
Fri Jul 9 13:53:50 CEST 2010


Le 09/07/2010 13:11, Prafulla Wadaskar a écrit :

> You can use volatile qualifier for the variables in DMA specific code instead of modifying structures,
> Try to use memory barrier or something like that-
> Some ref : http://gcc.gnu.org/ml/gcc/2003-04/msg01180.html
> may be someone c-expert on the list can suggest better

Seems we've followed the same line of reasoning. :)

I'll look into forcing a sequence point without resorting to asm.

Amicalement,
-- 
Albert.


More information about the U-Boot mailing list