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

Wolfgang Denk wd at denx.de
Tue Jun 29 14:55:44 CEST 2010


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 ;-)

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
"There is nothing new under the sun, but there are lots of old things
we don't know yet."                                  - Ambrose Bierce


More information about the U-Boot mailing list