MIPS: Octeon: Changes to support readq()/writeq() usage.
authorSteven J. Hill <steven.hill@cavium.com>
Sat, 9 Jul 2016 02:45:01 +0000 (21:45 -0500)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 11 Jul 2016 16:00:36 +0000 (18:00 +0200)
commit1685ddbe35cd4637f7f841d5f9755dd0470bd68d
treeef3086eefe2c03d877a1281a986030ec07d7d6eb
parentacd168c0bf2ce709f056a6b1bf21634b1207d7a5
MIPS: Octeon: Changes to support readq()/writeq() usage.

Update OCTEON port mangling code to support readq() and
writeq() functions to allow driver code to be more portable.
Updates also for word and long function pairs. We also
remove SWAP_IO_SPACE for OCTEON platforms as the function
macros are redundant with the new mangling code.

Signed-off-by: Steven J. Hill <steven.hill@cavium.com>
Acked-by: David Daney <david.daney@cavium.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/13780/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/Kconfig
arch/mips/cavium-octeon/setup.c
arch/mips/include/asm/mach-cavium-octeon/mangle-port.h