summaryrefslogtreecommitdiff
path: root/include/asm-blackfin/mach-common/bits/ports-h.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-h.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-h.h')
-rw-r--r--include/asm-blackfin/mach-common/bits/ports-h.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/include/asm-blackfin/mach-common/bits/ports-h.h b/include/asm-blackfin/mach-common/bits/ports-h.h
new file mode 100644
index 0000000..fa3910c
--- /dev/null
+++ b/include/asm-blackfin/mach-common/bits/ports-h.h
@@ -0,0 +1,25 @@
+/*
+ * Port H Masks
+ */
+
+#ifndef __BFIN_PERIPHERAL_PORT_H__
+#define __BFIN_PERIPHERAL_PORT_H__
+
+#define PH0 (1 << 0)
+#define PH1 (1 << 1)
+#define PH2 (1 << 2)
+#define PH3 (1 << 3)
+#define PH4 (1 << 4)
+#define PH5 (1 << 5)
+#define PH6 (1 << 6)
+#define PH7 (1 << 7)
+#define PH8 (1 << 8)
+#define PH9 (1 << 9)
+#define PH10 (1 << 10)
+#define PH11 (1 << 11)
+#define PH12 (1 << 12)
+#define PH13 (1 << 13)
+#define PH14 (1 << 14)
+#define PH15 (1 << 15)
+
+#endif