summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mv78xx0/mpp.h
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2011-05-15 11:32:52 (GMT)
committerNicolas Pitre <nico@fluxnic.net>2011-05-16 19:25:54 (GMT)
commitb2f427a1088a9ad4f86855f4df1fc059bebb441f (patch)
tree61508b83eabb956e6ab1255110689485151872b3 /arch/arm/mach-mv78xx0/mpp.h
parent44350061905b2a502579d3827eacaf8efa393aad (diff)
downloadlinux-fsl-qoriq-b2f427a1088a9ad4f86855f4df1fc059bebb441f.tar.xz
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-mv78xx0/mpp.h')
-rw-r--r--arch/arm/mach-mv78xx0/mpp.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/mach-mv78xx0/mpp.h b/arch/arm/mach-mv78xx0/mpp.h
index 80840b7..b61b509 100644
--- a/arch/arm/mach-mv78xx0/mpp.h
+++ b/arch/arm/mach-mv78xx0/mpp.h
@@ -19,14 +19,8 @@
/* may be output signal */ ((!!(_out)) << 13) | \
/* available on A0 */ ((!!(_78100_A0)) << 14))
-#define MPP_NUM(x) ((x) & 0xff)
-#define MPP_SEL(x) (((x) >> 8) & 0xf)
-
/* num sel i o 78100_A0 */
-#define MPP_INPUT_MASK MPP(0, 0x0, 1, 0, 0)
-#define MPP_OUTPUT_MASK MPP(0, 0x0, 0, 1, 0)
-
#define MPP_78100_A0_MASK MPP(0, 0x0, 0, 0, 1)
#define MPP0_GPIO MPP(0, 0x0, 1, 1, 1)