diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2013-02-20 22:03:01 +0000 |
---|---|---|
committer | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | 2013-06-08 23:10:10 +0200 |
commit | f0550f87f40b9b636c1fe116e3590ed1439c926c (patch) | |
tree | b89a9fc857da415c1ccdd573a9412add58d725ea /board/cogent/par.c | |
parent | 842033e6964e9e5d34aca893c1845416dd8ac2cc (diff) | |
download | u-boot-imx-f0550f87f40b9b636c1fe116e3590ed1439c926c.zip u-boot-imx-f0550f87f40b9b636c1fe116e3590ed1439c926c.tar.gz u-boot-imx-f0550f87f40b9b636c1fe116e3590ed1439c926c.tar.bz2 |
MIPS: fix __raw_* IO accessors
The purpose of the __raw* IO accessors is to provide
IO access in native-endian order. However in the current
MIPS implementation, the 16 and 32 bit variants of the
__raw accessors are swapping the values on big-endian
systems if the CONFIG_SWAP_IO_SPACE option is enabled.
The patch changes the IO accessor macros to fix this
broken behaviour.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Cc: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
Diffstat (limited to 'board/cogent/par.c')
0 files changed, 0 insertions, 0 deletions