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

Wolfgang Denk wd at denx.de
Wed Apr 30 17:38:30 CEST 2008


In message <48188584.3060109 at ge.com> you wrote:
>
> The solution in the PowerPC world is to add a "eieio" or "sync" 
> instruction[1] appropriately[2], which prevents the bus interface unit 
> from reordering the memory operations.

No, the solution for ALL architectures  is  to  use  the  appropriate
accessor  macros which take care of such things (and probably contain
calls like sync or similar).

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Unix: Some say the learning curve is steep,  but  you  only  have  to
climb it once.                                      - Karl Lehenbauer




More information about the U-Boot mailing list