From: Tom Rini Date: Fri, 21 Feb 2014 09:36:50 -0500 Subject: [U-Boot] arc: fix relocation for big-endian target In-Reply-To: <1392721858-6753-1-git-send-email-abrodkin@synopsys.com> References: <1392721858-6753-1-git-send-email-abrodkin@synopsys.com> Message-ID: <20140221143650.GV19081@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > > Cc: Francois Bedard > Cc: Tom Rini > cc: Noam Camus 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: