[U-Boot] Strange data behaviour
Kim Phillips
kim.phillips at freescale.com
Thu Feb 19 01:32:17 CET 2009
On Wed, 18 Feb 2009 09:19:08 +0100
Remco Poelstra <remco.poelstra at duran-audio.com> wrote:
> Wolfgang Denk schreef:
> > I bet you are using a plain pointer access without a "volatile",
> > which is essential here. Maybe even some form of "sync" is needed. In
> > any case, you should use appropriate accessor functions to access
> > device registers.
>
> I do not know any accessor functions.
things like out_be32 (at least that's what it's called on ppc arch).
> What do you mean with a "sync"?
it's a processor instruction that ensures that memory and/or i/o
accesses occur exactly when you specify they occur. For this reason, a
sync instruction is included as a part of the accessor functions.
Kim
More information about the U-Boot
mailing list