[U-Boot] [PATCH] MPC512x: workaround data corruption for unaligned local bus accesses

Joakim Tjernlund joakim.tjernlund at transmode.se
Tue Jun 29 15:06:22 CEST 2010


Wolfgang Denk <wd at denx.de> wrote on 2010/06/29 14:55:44:
>
> Dear Joakim Tjernlund,
>
> In message <OFEB4E68BC.F6B8C9D0-ONC1257751.0045AE08-C1257751.
> 0045DA56 at transmode.se> you wrote:
> >
> > > I could not come up with a better name... What is "align32wrap"
> > > supposed to mean?
> >
> > mpc5200_memcpy_fromio() resp. mpc5200_memcpy_toio()?
>
> No. It's not only MPC5200, but also MPC521x. It's not I/O in general,
> but only I/O from the Local Bus. And even then only unaliged read
> access.
>
> But memcpy_for_unaligned_read_from_local_bus() was too long for me,
> and memcpy_furflb() too cryptic ;-)

memcpy_align_src()?

   Jocke



More information about the U-Boot mailing list