[U-Boot-Users] [PATCH] 85xx io out functions need sync after write.

Wolfgang Denk wd at denx.de
Thu Sep 27 10:41:40 CEST 2007


In message <B52955765C54604CB1A62A9967F22C73026F7696 at az33exm20.fsl.freescale.net> you wrote:
>
> > Another way would be to use the out_be32() and friends functions 
> > defined in asm-ppc/io.h. They already have the sync/barrier included 
> > and are recommened for accessing peripheral devices.
> 
> Agreed, but grep finds 132 calls to out[813] in driver and rtc files.

As Stefan already pointed out on #u-boot, this is just an indication
that this is a pretty common error.


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
All easy problems have already been solved.




More information about the U-Boot mailing list