diff options
author | Alexey Brodkin <Alexey.Brodkin@synopsys.com> | 2014-02-18 15:10:58 +0400 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-02-21 07:56:42 -0500 |
commit | 36ae5cd2a824597b4c53b045ac0f4c1e3b4eaf65 (patch) | |
tree | 4cf723eb12132ae449c6bbee84b48779aa90454d /common/cmd_part.c | |
parent | c42eb7f2c76ff5553380cb0bfbfb62903194cf0c (diff) | |
download | u-boot-imx-36ae5cd2a824597b4c53b045ac0f4c1e3b4eaf65.zip u-boot-imx-36ae5cd2a824597b4c53b045ac0f4c1e3b4eaf65.tar.gz u-boot-imx-36ae5cd2a824597b4c53b045ac0f4c1e3b4eaf65.tar.bz2 |
arc: fix relocation for big-endian target
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@synopsys.com>
Cc: Francois Bedard <fbedard@synopsys.com>
Cc: Tom Rini <trini@ti.com>
cc: Noam Camus <noamc@ezchip.com>
Diffstat (limited to 'common/cmd_part.c')
0 files changed, 0 insertions, 0 deletions