[U-Boot] [PATCH] Use memcpy in print_buffer to fix unaligned dumps

Mike Frysinger vapier at gentoo.org
Tue Jun 29 21:42:46 CEST 2010


On Tuesday, June 29, 2010 08:53:06 Wolfgang Denk wrote:
> Anatolij Gustschin wrote:
> > Unaligned 32-/16-bit accesses to local bus on MPC5200
> > and MPC512x deliver corrupted data:
>
> Right, and the current version of print_buffer() shopws the real data,
> i. e. you can see that such a corruption happens.

i also prefer the current behavior.  on Blackfin systems, you get unaligned 
exceptions when you try to do 'md.l 1' and it's a nice way to quickly exercise 
those code paths ;).
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20100629/2260d730/attachment.pgp 


More information about the U-Boot mailing list