From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Date: Tue, 29 Jun 2010 15:42:46 -0400 Subject: [U-Boot] [PATCH] Use memcpy in print_buffer to fix unaligned dumps In-Reply-To: <20100629125306.C3F7414EBF8@gemini.denx.de> References: <1277804892-453-1-git-send-email-wd@denx.de> <1277815514-32120-1-git-send-email-agust@denx.de> <20100629125306.C3F7414EBF8@gemini.denx.de> Message-ID: <201006291542.47695.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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