]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MIPS: PCI: Byteswap not needed in little-endian mode
authorJayachandran C <jchandra@broadcom.com>
Wed, 16 Jan 2013 11:12:40 +0000 (11:12 +0000)
committerJohn Crispin <blogic@openwrt.org>
Sat, 16 Feb 2013 23:15:19 +0000 (00:15 +0100)
commita264b5e8dc3cae1b07cea010d6283be6e67b0209
tree7f615fd95de4f72fd5375432f7e29ee9587dbd28
parent220d9122e8c5a467fdeefc1857e077f29a623bfd
MIPS: PCI: Byteswap not needed in little-endian mode

Rename function xlp_enable_pci_bswap() to xlp_config_pci_bswap(), which
is a better description for its functionality.  When compiled in
big-endian mode, xlp_config_pci_bswap() will configure the PCIe links
to byteswap.  In little-endian mode, no swap configuration is needed
for the PCIe controller, and the function is empty.

Signed-off-by: Jayachandran C <jchandra@broadcom.com>
Patchwork: http://patchwork.linux-mips.org/patch/4802/
Signed-off-by: John Crispin <blogic@openwrt.org>
arch/mips/pci/pci-xlp.c