summaryrefslogtreecommitdiff
path: root/include/asm-blackfin/mach-bf548
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-12-06 02:54:52 -0500
committerMike Frysinger <vapier@gentoo.org>2009-02-02 12:27:14 -0500
commite5eb93e77391bcc308697116c544ea1340aaae8a (patch)
tree8d056582715e2e56a982ef9add4c4e801b9e774c /include/asm-blackfin/mach-bf548
parent8a6b272596d43de0db4943eac7af58c3534c4026 (diff)
downloadu-boot-imx-e5eb93e77391bcc308697116c544ea1340aaae8a.zip
u-boot-imx-e5eb93e77391bcc308697116c544ea1340aaae8a.tar.gz
u-boot-imx-e5eb93e77391bcc308697116c544ea1340aaae8a.tar.bz2
Blackfin: add port I bits
Some people need to access port I, so make sure the pins are defined. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'include/asm-blackfin/mach-bf548')
-rw-r--r--include/asm-blackfin/mach-bf548/ports.h20
1 files changed, 19 insertions, 1 deletions
diff --git a/include/asm-blackfin/mach-bf548/ports.h b/include/asm-blackfin/mach-bf548/ports.h
index c828516..5f0e45e 100644
--- a/include/asm-blackfin/mach-bf548/ports.h
+++ b/include/asm-blackfin/mach-bf548/ports.h
@@ -236,7 +236,25 @@
#define PH14 0x4000
#define PH15 0x8000
-/* Port J Masks */
+/* Port I Masks */
+#define PI0 0x0001
+#define PI1 0x0002
+#define PI2 0x0004
+#define PI3 0x0008
+#define PI4 0x0010
+#define PI5 0x0020
+#define PI6 0x0040
+#define PI7 0x0080
+#define PI8 0x0100
+#define PI9 0x0200
+#define PI10 0x0400
+#define PI11 0x0800
+#define PI12 0x1000
+#define PI13 0x2000
+#define PI14 0x4000
+#define PI15 0x8000
+
+/* Port I Masks */
#define PJ0 0x0001
#define PJ1 0x0002
#define PJ2 0x0004