summaryrefslogtreecommitdiff
path: root/include/asm-blackfin/mach-common/bits/ports-d.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-02-07 05:25:35 -0500
committerMike Frysinger <vapier@gentoo.org>2009-03-23 15:14:53 -0400
commit820b076c449688bcd4af6db5a33ae424d1a60d0e (patch)
tree41b1501013da9220804ad39d51064d16b2bcb013 /include/asm-blackfin/mach-common/bits/ports-d.h
parent744fd240d181b0b05b1436e1b655c9a62526c752 (diff)
downloadu-boot-imx-820b076c449688bcd4af6db5a33ae424d1a60d0e.zip
u-boot-imx-820b076c449688bcd4af6db5a33ae424d1a60d0e.tar.gz
u-boot-imx-820b076c449688bcd4af6db5a33ae424d1a60d0e.tar.bz2
Blackfin: unify duplicate CPU port definitions
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'include/asm-blackfin/mach-common/bits/ports-d.h')
-rw-r--r--include/asm-blackfin/mach-common/bits/ports-d.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/include/asm-blackfin/mach-common/bits/ports-d.h b/include/asm-blackfin/mach-common/bits/ports-d.h
new file mode 100644
index 0000000..868c6a0
--- /dev/null
+++ b/include/asm-blackfin/mach-common/bits/ports-d.h
@@ -0,0 +1,25 @@
+/*
+ * Port D Masks
+ */
+
+#ifndef __BFIN_PERIPHERAL_PORT_D__
+#define __BFIN_PERIPHERAL_PORT_D__
+
+#define PD0 (1 << 0)
+#define PD1 (1 << 1)
+#define PD2 (1 << 2)
+#define PD3 (1 << 3)
+#define PD4 (1 << 4)
+#define PD5 (1 << 5)
+#define PD6 (1 << 6)
+#define PD7 (1 << 7)
+#define PD8 (1 << 8)
+#define PD9 (1 << 9)
+#define PD10 (1 << 10)
+#define PD11 (1 << 11)
+#define PD12 (1 << 12)
+#define PD13 (1 << 13)
+#define PD14 (1 << 14)
+#define PD15 (1 << 15)
+
+#endif