summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-kirkwood/mpp.h
diff options
context:
space:
mode:
authorAndrew Lunn2011-05-15 13:32:52 +0200
committerNicolas Pitre2011-05-16 21:25:54 +0200
commitb2f427a1088a9ad4f86855f4df1fc059bebb441f (patch)
tree61508b83eabb956e6ab1255110689485151872b3 /arch/arm/mach-kirkwood/mpp.h
parentARM: orion: Consolidate setup of the crypto engine. (diff)
downloadkernel-qcow2-linux-b2f427a1088a9ad4f86855f4df1fc059bebb441f.tar.gz
kernel-qcow2-linux-b2f427a1088a9ad4f86855f4df1fc059bebb441f.tar.xz
kernel-qcow2-linux-b2f427a1088a9ad4f86855f4df1fc059bebb441f.zip
ARM: orion: Refactor the MPP code common in the orion platform
mv78xx0 and kirkwood use identical mpp code. It should also be possible to rewrite the orion5x mpp to use this platform code. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Nicolas Pitre <nico@fluxnic.net>
Diffstat (limited to 'arch/arm/mach-kirkwood/mpp.h')
-rw-r--r--arch/arm/mach-kirkwood/mpp.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/mach-kirkwood/mpp.h b/arch/arm/mach-kirkwood/mpp.h
index 9b0a94d85c3e..ac787957e2d9 100644
--- a/arch/arm/mach-kirkwood/mpp.h
+++ b/arch/arm/mach-kirkwood/mpp.h
@@ -22,14 +22,8 @@
/* available on F6281 */ ((!!(_F6281)) << 17) | \
/* available on F6282 */ ((!!(_F6282)) << 18))
-#define MPP_NUM(x) ((x) & 0xff)
-#define MPP_SEL(x) (((x) >> 8) & 0xf)
-
/* num sel i o 6180 6190 6192 6281 6282 */
-#define MPP_INPUT_MASK MPP( 0, 0x0, 1, 0, 0, 0, 0, 0, 0 )
-#define MPP_OUTPUT_MASK MPP( 0, 0x0, 0, 1, 0, 0, 0, 0, 0 )
-
#define MPP_F6180_MASK MPP( 0, 0x0, 0, 0, 1, 0, 0, 0, 0 )
#define MPP_F6190_MASK MPP( 0, 0x0, 0, 0, 0, 1, 0, 0, 0 )
#define MPP_F6192_MASK MPP( 0, 0x0, 0, 0, 0, 0, 1, 0, 0 )