[U-Boot] arc: fix relocation for big-endian target

Tom Rini trini at ti.com
Fri Feb 21 15:36:50 CET 2014


On Tue, Feb 18, 2014 at 03:10:58PM +0400, Alexey Brodkin wrote:

> In case of little-endian ARC700 instructions (which may include target
> address) are encoded as middle-endian. That's why it's required to swap
> bytes after read and ten right before write back.
> 
> But in case of big-endian ARC700 instructions are encoded as a plain
> big-endian. Thus no need for byte swapping.
> 
> Signed-off-by: Alexey Brodkin <abrodkin at synopsys.com>
> 
> Cc: Francois Bedard <fbedard at synopsys.com>
> Cc: Tom Rini <trini at ti.com>
> cc: Noam Camus <noamc at ezchip.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140221/a61523b8/attachment.pgp>


More information about the U-Boot mailing list