SH: pci-sh7780: enable big-endian operation.
authorThomas Schwinge <thomas@codesourcery.com>
Fri, 9 Mar 2012 16:38:52 +0000 (17:38 +0100)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 28 Mar 2012 05:28:30 +0000 (14:28 +0900)
commitbfc906d885762cd5e9381c1815b18bd7753cedf5
treefe60a567f5e2eb19b565f1c8256f7a96fd8acbba
parent49d4bcaddca977fffdea8b0b71f6e5da96dac78e
SH: pci-sh7780: enable big-endian operation.

If in big-endian mode, switch the PCI bus, too.

Tested on both litte-endian and big-endian sh7785lcr.

Signed-off-by: Thomas Schwinge <thomas@codesourcery.com>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: linux-sh@vger.kernel.org
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/drivers/pci/pci-sh7780.c