MIPS: add readl/write_be accessors
authorFlorian Fainelli <ffainelli@freebox.fr>
Wed, 16 Dec 2009 10:29:06 +0000 (11:29 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 27 Feb 2010 11:53:12 +0000 (12:53 +0100)
commitf868ba29723be46e0981226d7455090d515b08ef
tree77b0fde68563ab8b8b458839608577223d787d81
parent9df7d1647fdd729c5bf3f087ae69d07fecf60bdd
MIPS: add readl/write_be accessors

MIPS currently lacks the readl_be and writel_be accessors
which are required by BCM63xx for OHCI and EHCI support.
Let's define them globally for MIPS. This also fixes the
compilation of the bcm63xx defconfig against USB.

Signed-off-by: Florian Fainelli <ffainelli@freebox.fr>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: linux-mips@linux-mips.org
Cc: Maxime Bizon <mbizon@freebox.fr>
Patchwork: http://patchwork.linux-mips.org/patch/793/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/io.h